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

  1. //
  2. //  $Id: AppInfo.h,v 1.1 2000/06/10 00:20:00 sergey Exp $
  3. //
  4.  
  5. #ifndef _AppInfo_h_
  6. #define _AppInfo_h_
  7.  
  8.  
  9. namespace DB
  10. {
  11.     //
  12.     // AppInfo interface.
  13.     //
  14.     class AppInfo
  15.     {
  16.     protected:
  17.         AppInfo() {}
  18.         virtual ~AppInfo() {}
  19.  
  20.     // operations
  21.     public:
  22.         // Restores object out from the buffer.
  23.         // Returns false in case the object can't be correctly restored.
  24.         virtual bool restore(const void* buffer) = 0;
  25.     };
  26. }
  27. // namespace DB
  28.  
  29. #endif // _AppInfo_h_
  30.