home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / contrib / pstest.tar / testcmdw.h < prev    next >
C/C++ Source or Header  |  1996-08-28  |  1KB  |  44 lines

  1. //    testcmdw.h:    Header for testcmdw class
  2. //=======================================================================
  3.  
  4. #ifndef testCMDW_H
  5. #define testCMDW_H
  6.  
  7. #include <v/vcmdwin.h>    // So we can use vCmdWindow
  8. #include <v/vmenu.h>    // For the menu pane
  9. #include <v/vutil.h>    // For V Utilities
  10. #include <v/vcmdpane.h> // command pane
  11. #include <v/vstatusp.h>    // For the status pane
  12. #include <v/vtimer.h>    // Timer
  13.  
  14. #ifdef vDEBUG
  15. #include <v/vdebug.h>
  16. #endif
  17.  
  18. #include "testcnv.h"    // testCanvasPane
  19.  
  20.     class testCmdWindow;
  21.  
  22.  
  23.     class testCmdWindow : public vCmdWindow
  24.       {
  25.     friend int AppMain(int, char**);    // allow AppMain access
  26.  
  27.       public:        //---------------------------------------- public
  28.     testCmdWindow(char*, int, int);
  29.     virtual ~testCmdWindow();
  30.     virtual void WindowCommand(ItemVal id, ItemVal val, CmdType cType);
  31.     virtual void KeyIn(vKey keysym, unsigned int shift);
  32.  
  33.       protected:    //--------------------------------------- protected
  34.  
  35.       private:        //--------------------------------------- private
  36.  
  37.     // Standard elements
  38.     vMenuPane* testMenu;        // For the menu bar
  39.     testCanvasPane* testCanvas;        // For the canvas
  40.  
  41.  
  42.       };
  43. #endif
  44.