home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / appgen / vgcmdw.h < prev    next >
C/C++ Source or Header  |  1998-07-07  |  1KB  |  44 lines

  1. //=======================================================================
  2. //    vgcmdw.h:    Header for vgApp class
  3. //=======================================================================
  4.  
  5. #ifndef VGCMDW_H
  6. #define VGCMDW_H
  7.  
  8. #include <v/vcmdwin.h>    // So we can use vCmdWindow
  9. #include <v/vmenu.h>    // For the menu pane
  10. #include <v/vcmdpane.h> // command pane
  11. #include <v/vstatusp.h>    // For the status pane
  12.  
  13. #ifdef vDEBUG
  14. #include <v/vdebug.h>
  15. #endif
  16.  
  17. #include "vgdefs.h"    // for definitions
  18. #include "vgcnv.h"    // vgCanvasPane
  19. #include "vgmdlg.h"    // vgModalDialog
  20. #include "vgdlmdlg.h"    // vgdlgModalDialog
  21.  
  22.     class vgCmdWindow : public vCmdWindow
  23.       {
  24.     friend int AppMain(int, char**);    // allow AppMain access
  25.  
  26.       public:        //---------------------------------------- public
  27.     vgCmdWindow(char*, int, int);
  28.     virtual ~vgCmdWindow();
  29.     virtual void WindowCommand(ItemVal id, ItemVal val, CmdType cType);
  30.     virtual void KeyIn(vKey keysym, unsigned int shift);
  31.  
  32.       protected:    //--------------------------------------- protected
  33.  
  34.       private:        //--------------------------------------- private
  35.  
  36.     // Standard elements
  37.     vMenuPane* vgMenu;        // For the menu bar
  38.     vgTextCanvasPane* vgCanvas;        // For the canvas
  39.     vCommandPane* vgCmdPane;    // for the command pane
  40.  
  41.     vgOptions opts;
  42.       };
  43. #endif
  44.