| 1 | #pragma once |
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | #include "Library/HostIO/HioNode.h" |
| 6 | |
| 7 | namespace nn { |
| 8 | class Result; |
| 9 | } // namespace nn |
| 10 | |
| 11 | namespace sead { |
| 12 | class Thread; |
| 13 | } // namespace sead |
| 14 | |
| 15 | namespace al { |
| 16 | |
| 17 | enum NfpApplicationCommand : u32; |
| 18 | |
| 19 | class NfpDirector : public IUseHioNode { |
| 20 | public: |
| 21 | NfpDirector(s32); |
| 22 | |
| 23 | void executeCommand(sead::Thread*, s64); |
| 24 | void initialize(); |
| 25 | void enqueueCommand(NfpApplicationCommand); |
| 26 | void finalize(); |
| 27 | virtual void update(); |
| 28 | void stop(); |
| 29 | void listDevices(); |
| 30 | void start(); |
| 31 | void clearCommand(); |
| 32 | void resetError(); |
| 33 | virtual void showError(const nn::Result&); |
| 34 | void executeCommandInitialize(); |
| 35 | void executeCommandFinalize(); |
| 36 | void executeCommandListDevices(); |
| 37 | void executeCommandStart(); |
| 38 | void executeCommandStop(); |
| 39 | |
| 40 | private: |
| 41 | char filler[0xd4]; |
| 42 | }; |
| 43 | |
| 44 | } // namespace al |
| 45 | |