home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / drawex / drawapp.h < prev    next >
C/C++ Source or Header  |  1998-07-03  |  969b  |  33 lines

  1. //================================================================
  2. //  drawapp.h:    Header file for minimal prototype V application
  3. //  Copyright (C) 1995  Bruce E. Wampler
  4. //================================================================
  5. #ifndef DRAWAPP_H
  6. #define DRAWAPP_H
  7.  
  8. #include <v/vapp.h>
  9. #include <v/vawinfo.h>    // for app info
  10.  
  11. #include "drawcmdw.h"    // we user our cmdwin class
  12.  
  13.     class drawApp : public vApp
  14.       {
  15.     friend int AppMain(int, char**);   // allow AppMain access
  16.  
  17.       public:        //--------------------------------- public
  18.     drawApp(char* name) : vApp(name) {}    // just call vApp
  19.     virtual ~drawApp() {}
  20.  
  21.     // Routines from vApp that are normally overridden
  22.     virtual vWindow* NewAppWin(vWindow* win, char* name, int w,
  23.         int h, vAppWinInfo* winInfo);
  24.     virtual void Exit(void);
  25.     virtual int CloseAppWin(vWindow*);
  26.  
  27.       protected:    //------------------------------ protected
  28.  
  29.       private:        //-------------------------------- private
  30.  
  31.       };
  32. #endif
  33.