/* */ #ifndef _D_BT_CONTEXT_AWARE_COMMAND_H_ #define _D_BT_CONTEXT_AWARE_COMMAND_H_ #include "Command.h" #include "BtContext.h" #include "BtRuntime.h" #include "PieceStorage.h" #include "PeerStorage.h" #include "BtAnnounce.h" #include "BtProgressInfoFile.h" class BtContextAwareCommand : public Command { protected: BtContextHandle btContext; BtRuntimeHandle btRuntime; PieceStorageHandle pieceStorage; PeerStorageHandle peerStorage; BtAnnounceHandle btAnnounce; BtProgressInfoFileHandle btProgressInfoFile; public: BtContextAwareCommand(int cuid, const BtContextHandle& btContext); virtual ~BtContextAwareCommand(); }; #endif // _D_BT_CONTEXT_AWARE_COMMAND_H_