home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ocl150a.zip / OCL / Samples / ValueSet / Source / Value.hpp < prev    next >
C/C++ Source or Header  |  1996-10-21  |  576b  |  39 lines

  1. // OCL Sample OValueSet
  2.  
  3.  
  4. #include <ocl.hpp>
  5. #include <OApp.hpp>
  6. #include <ODialog.hpp>
  7. #include <OMsgs.hpp>
  8. #include <OValueSet.hpp>
  9. #include <OLogo.hpp>
  10. #include <OPMException.hpp>
  11.  
  12. #include "..\Source\Value.h"
  13.  
  14.  
  15. typedef class ValueSample *pValueSample;
  16.  
  17. class ValueSample 
  18.   : public OApp, 
  19.     public ODialog
  20. {
  21.  private:
  22.    OValueSet VSet;
  23.    OLogo     logo;
  24.  
  25.  public:
  26.  
  27.    ValueSample();
  28.    ~ValueSample();
  29.  
  30.    virtual PSZ isOfType() const;
  31.  
  32.    void init();
  33.  
  34.    BOOL OCommand(ULONG msg, MPARAM mp1, MPARAM mp2);
  35. };
  36.  
  37.  
  38. // end of source
  39.