home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Mobile / Chip_Mobile_2001.iso / palm / business / printcar / printcar.exe / src / UI / Application.h < prev    next >
C/C++ Source or Header  |  2000-06-06  |  594b  |  34 lines

  1. //
  2. //  $Id: Application.h,v 1.2 2000/06/06 09:31:10 sergey Exp $
  3. //
  4.  
  5. #ifndef _Application_h_
  6. #define _Application_h_
  7.  
  8.  
  9. namespace UI
  10. {
  11.     class Form;
  12.  
  13.     class Application
  14.     {
  15.     public:
  16.         Application() {}
  17.         virtual ~Application() {}
  18.  
  19.     // can't be copied
  20.     private:
  21.         Application(const Application&);
  22.         Application& operator =(const Application&);
  23.  
  24.     public:
  25.         void run(Form& mainForm, long eventLoopDelay);
  26.  
  27.     protected:
  28.         virtual void eventLoop(long delay);
  29.     };
  30. }
  31. // namespace UI
  32.  
  33. #endif // _Application_h_
  34.