CreateObjectAction.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: CreateObjectAction.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "CreateObjectAction" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _CREATE_OBJECT_ACTION_H_
  14. #define _CREATE_OBJECT_ACTION_H_
  15. #ifndef _ACTION_H_
  16. #include "Action.h"
  17. #endif// _ACTION_H_
  18. namespace Training
  19. {
  20. //------------------------------------------------------------------------------
  21. // class definitions
  22. //------------------------------------------------------------------------------
  23. class CreateObjectAction : public Action
  24. {
  25. public:
  26. /* void */ CreateObjectAction (ObjectType objectType, const void* pData, int iDataSize);
  27. virtual /* void */ ~CreateObjectAction (void);
  28. virtual void Execute (void);
  29. protected:
  30. ObjectType m_objectType;
  31. const void* m_pData;
  32. int m_iDataSize;
  33. TRef<IbaseIGC> m_result;
  34. };
  35. //------------------------------------------------------------------------------
  36. }
  37. #endif //_CREATE_OBJECT_ACTION_H_