home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / carsql.zip / ccssrror.cpp < prev    next >
C/C++ Source or Header  |  1995-12-19  |  3KB  |  83 lines

  1. /*******************************************************************************
  2. * FILE NAME: ccssrror.cpp                                                      *
  3. *                                                                              *
  4. * DESCRIPTION:                                                                 *
  5. *   Class implementation of the class:                                         *
  6. *     accessError                                                              *
  7. * ---------------------------------------------------------------------------- *
  8. * Warning: This file was generated by the VisualAge C++ Visual Builder.        *
  9. * Modifications to this source file will be lost when the part is regenerated. *
  10. *******************************************************************************/
  11. #ifndef _INOTIFEV_
  12. #include <inotifev.hpp>
  13. #endif
  14.  
  15. #ifndef _IOBSERVR_
  16. #include <iobservr.hpp>
  17. #endif
  18.  
  19. #ifndef _ISTDNTFY_
  20. #include <istdntfy.hpp>
  21. #endif
  22.  
  23. #ifndef _ACCESSERROR_
  24. #include "ccssrror.hpp"
  25. #endif
  26.  
  27. #ifndef _IVBDEFS_
  28. #include <ivbdefs.h>
  29. #endif
  30.  
  31. #ifndef _ITRACE_
  32. #include <itrace.hpp>
  33. #endif
  34.  
  35.  
  36. #pragma export (accessError::readyId)
  37. const INotificationId accessError::readyId = "accessError::readyId";
  38.  
  39. //------------------------------------------------------------------------------
  40. // accessError :: accessError
  41. //------------------------------------------------------------------------------
  42. #pragma export (accessError::accessError())
  43. accessError::accessError()
  44. {
  45.  
  46. }     //end constructor
  47.  
  48.  
  49. //------------------------------------------------------------------------------
  50. // accessError :: ~accessError
  51. //------------------------------------------------------------------------------
  52. #pragma export (accessError::~accessError())
  53. accessError::~accessError()
  54. {
  55.  
  56. }
  57.  
  58. //------------------------------------------------------------------------------
  59. // accessError :: initializePart
  60. //------------------------------------------------------------------------------
  61. #pragma export (accessError::initializePart())
  62. accessError & accessError::initializePart()
  63. {
  64.    makeConnections();
  65.    notifyObservers(INotificationEvent(readyId, *this));
  66.    return *this;
  67. }
  68.  
  69.  
  70. //------------------------------------------------------------------------------
  71. // accessError :: makeConnections
  72. //------------------------------------------------------------------------------
  73. #pragma export (accessError::makeConnections())
  74. Boolean accessError::makeConnections()
  75. {
  76.    this->enableNotification();
  77.  
  78.    return true;
  79. }
  80.  
  81.  
  82. #include "accerr.cpv"
  83.