resonance 1.0.1
Loading...
Searching...
No Matches
savejukeboxplaylistmct.h
Go to the documentation of this file.
1#pragma once
2
5
6class CheckInfoOp;
8
20public:
34 Memcard *pCard,
35 int nPortSlot,
36 int nCookie,
37 JukeboxPlayList *pPlayList,
38 int nIndex);
39
45
46#ifndef VIDEO_STANDARD_PAL
56 virtual void OnCheckInfo(CheckInfoOp *pOp);
57#endif
58
65 virtual void Finish();
66
77 virtual void Execute();
78
79private:
80 // The serialised playlist, over g_abRemixStagingBuffer. +0x40c in the North American release
81 // and +0x41c in the European release.
83
84 // The playlist number in the file name. +0x42c in the North American release and +0x43c
85 // in the European release.
86 int mIndex;
87};
Enquiry about the card in one slot.
Definition checkinfoop.h:13
Bidirectional stream over a caller-supplied byte buffer.
Definition iobpreallocmemstream.h:32
Ordered list of the remixes queued in the jukebox.
Definition jukeboxplaylist.h:46
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
SaveFileMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle save task.
virtual void Finish()
Report the result through MemcardUser::OnJukeboxPlayListSaved().
virtual void OnCheckInfo(CheckInfoOp *pOp)
Start the save sequence once the card enquiry succeeds.
SaveJukeboxPlayListMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, JukeboxPlayList *pPlayList, int nIndex)
Construct an idle save and serialise the playlist through JukeboxPlayList::save().
virtual void Execute()
Aim the save at the playlist directory and at <g_jukeboxFileName><mIndex>.dat, and enquire about the ...
virtual ~SaveJukeboxPlayListMCT()