16#ifndef VIDEO_STANDARD_PAL
51#ifdef VIDEO_STANDARD_PAL
78 const HxStr &remixName,
79 const std::vector<FreqAppearance> &appearances,
80 const HxStr &levelName,
121#ifndef VIDEO_STANDARD_PAL
182#ifndef VIDEO_STANDARD_PAL
204 static void AppendDirInfo(std::vector<RemixDirInfo> &infos,
const HxStr &name,
int nEntryCount);
212 static HxStr ChooseTargetDir(
const std::vector<RemixDirInfo> &infos);
221 void ReadNextIndex();
230 void ReadTargetIndex();
232#ifndef VIDEO_STANDARD_PAL
249 int mTargetIndexStatus;
255 std::vector<HxStr> mDirNames;
258 std::vector<RemixDirInfo> mDirInfos;
264 HxStr mPayloadFileName;
276 std::vector<FreqAppearance> mAppearances;
287#ifndef VIDEO_STANDARD_PAL
Enquiry about the card in one slot.
Definition checkinfoop.h:13
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Bidirectional stream over a caller-supplied byte buffer.
Definition iobpreallocmemstream.h:32
Listing of one directory on a card.
Definition listdirop.h:20
Read one file from a card into a caller-supplied buffer.
Definition loadfilemct.h:40
MemcardTask(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle task against one card slot.
Receiver notified once a memory-card task has finished.
Definition memcarduser.h:24
Queue of memory-card operations, with one entry point per libmc call.
Definition memcard.h:29
Write one payload to a card, together with the save directory and its browser icon.
Definition savefilemct.h:114
Write one remix to a card and add it to the index of the directory it lands in.
Definition saveremixmct.h:54
virtual void OnCheckInfo(CheckInfoOp *pOp)
Start the listing unless the card cannot be read or has too little room.
virtual void OnListDir(ListDirOp *pOp)
Collect the listed directories and start the index walk.
virtual void OnFileLoaded(int nStatus)
Advance the index walk, or move from the target's index to the payload write.
virtual void OnFileSaved(int nStatus)
Advance past a finished write, or rewrite the index once the payload has been written.
void ListRemixDir()
List every remix save directory on the card.
virtual void Finish()
Report the finished save through MemcardUser::OnRemixSaved().
virtual ~SaveRemixMCT()
Delete the inner save and the inner read.
void WriteIndex()
Rewrite the target directory's index with the saved remix, and save it.
virtual void Execute()
Enquire about the card and start the save.
SaveRemixMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, const HxStr &remixName, const std::vector< FreqAppearance > &appearances, const HxStr &levelName, int nAlbumNum)
Construct an idle remix save.
constexpr int kRemixSaveMinimumFreeClusters
Free clusters a remix save needs, as the card enquiry reports them in CheckInfoOp::mFree.
Definition saveremixmct.h:18