home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Mobile / Chip_Mobile_2001.iso / palm / business / printcar / printcar.exe / src / IrDA / IrError.h < prev    next >
C/C++ Source or Header  |  2000-06-05  |  1KB  |  53 lines

  1. //
  2. // $Id: IrError.h,v 1.2 2000/06/04 23:23:39 sergey Exp $
  3. //
  4.  
  5. #ifndef _IrError_h_
  6. #define _IrError_h_
  7.  
  8.  
  9. //==============================================================================
  10. // IrError message
  11. //==============================================================================
  12.  
  13. namespace IrDA
  14. {
  15.     //
  16.     // Error class used to report IR library errors.
  17.     //
  18.     class IrError
  19.     {
  20.     private:
  21.         IrError() {}
  22.         ~IrError() {}
  23.  
  24.     public:
  25.  
  26.         // IrPort
  27.  
  28.         static void openIrLibraryError();
  29.         static void closeIrLibraryError();
  30.  
  31.         // IrConnection
  32.  
  33.         static void sendDataError(int maxSize, int size);
  34.         static void bindError();
  35.         static void unbindError();
  36.         static void discoveryError();
  37.         static void lapConnectionError();
  38.         static void lapDisconnectionError();
  39.         static void getRemoteLsapError();
  40.         static void lmpConnectionError();
  41.         static void tinyTpConnectionError();
  42.         static void setDeviceInfoError();
  43.  
  44.         // IrIAS
  45.  
  46.         static void iasQueryError(const char* query, int rc);
  47.         static void unexpectedIasQueryError(const char* query, int rc);
  48.         static void iasCallbackError(int status);
  49.     };
  50. }
  51.  
  52. #endif _IrError_h_
  53.