Various changes to Win32 build
[dasher.git] / Src / Win32 / DasherAction.h
blobf38bffd27f98823aac5bcc3b8fae7152a3e716eb
1 #ifndef __DasherAction_h__
2 #define __DasherAction_h__
4 #include <string>
6 class CDasherAction {
7 public:
8 // Return the human readable name for this action
9 virtual std::string GetName() = 0;
11 // Activate the action (eg load any required resources)
12 virtual bool Activate() = 0;
14 // Deactivate the action (deallocate resources etc)
15 virtual bool Deactivate() = 0;
17 // Return whether or not the action is active
18 virtual bool GetActive() = 0;
20 // Execute the action
21 virtual bool Execue(const std::wstring &strText) = 0;
24 #endif