1 /***********************************************************************/ 2 /* Open Visualization Data Explorer */ 3 /* (C) Copyright IBM Corp. 1989,1999 */ 4 /* ALL RIGHTS RESERVED */ 5 /* This code licensed under the */ 6 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ 7 /***********************************************************************/ 8 9 #include <dxconfig.h> 10 #include "../base/defines.h" 11 12 13 14 #ifndef _ImageResetCommand_h 15 #define _ImageResetCommand_h 16 17 18 #include "NoUndoCommand.h" 19 20 21 // 22 // Class name definition: 23 // 24 #define ClassImageResetCommand "ImageResetCommand" 25 26 // 27 // Referenced classes. 28 // 29 class ImageWindow; 30 31 // 32 // ImageResetCommand class definition: 33 // 34 class ImageResetCommand : public NoUndoCommand 35 { 36 private: 37 // 38 // Private member data: 39 // 40 ImageWindow *imageWindow; 41 42 protected: 43 // 44 // Protected member data: 45 // 46 47 virtual boolean doIt(CommandInterface *ci); 48 49 50 public: 51 // 52 // Constructor: 53 // 54 ImageResetCommand(const char *name, 55 CommandScope *scope, 56 boolean active, 57 ImageWindow *w); 58 59 // 60 // Destructor: 61 // ~ImageResetCommand()62 ~ImageResetCommand(){} 63 64 // 65 // Returns a pointer to the class name. 66 // getClassName()67 const char* getClassName() 68 { 69 return ClassImageResetCommand; 70 } 71 }; 72 73 74 #endif // _ImageResetCommand_h 75