resonance 1.0.1
Loading...
Searching...
No Matches
getconnectstatemct.h
Go to the documentation of this file.
1#pragma once
2
5
18public:
32 GetConnectStateMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie);
33
39
49 virtual void OnCheckInfo(CheckInfoOp *pOp);
50
55 virtual void Finish();
56
61 virtual void Execute();
62
63private:
64 // What the slot reported. Passed to the user by value, which is why MemcardUser's slot 2 is
65 // the one slot whose compiled body is not empty. +0x1c
66 MemcardConnectState mConnectState;
67};
Enquiry about the card in one slot.
Definition checkinfoop.h:13
GetConnectStateMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle enquiry with an unknown state.
virtual ~GetConnectStateMCT()
virtual void OnCheckInfo(CheckInfoOp *pOp)
Fill mConnectState from the finished enquiry and report it.
virtual void Finish()
virtual void Execute()
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
What one card slot reports about itself, and the memory-card location the front end stores.
Definition memcardconnectstate.h:21