home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pgehdl.zip / test.hpp < prev    next >
C/C++ Source or Header  |  1996-02-27  |  5KB  |  136 lines

  1. /*******************************************************************************
  2. * FILE NAME: test.hpp                                                          *
  3. *                                                                              *
  4. * DESCRIPTION:                                                                 *
  5. *   Declaration of the class:                                                  *
  6. *     test                                                                     *
  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 _TEST_
  12. #define _TEST_  
  13.  
  14. class test;
  15.  
  16. #ifndef _IFRAME_
  17. #include <iframe.hpp>
  18. #endif
  19.  
  20. class ICanvas;
  21. class INotebook;
  22. class IVBNotebookPage;
  23. class IEntryField;
  24. class IPushButton;
  25. class IStaticText;
  26. class APageHandler;
  27. #ifndef _IRECT_
  28. #include <irect.hpp>
  29. #endif
  30.  
  31. #ifndef _ISTRING_
  32. #include <istring.hpp>
  33. #endif
  34.  
  35. #ifndef _IEVTDATA_
  36. #include <ievtdata.hpp>
  37. #endif
  38.  
  39. class testConn0;
  40. class testConn2;
  41. class testConn4;
  42. class testConn6;
  43. class testConn8;
  44. class testConn10;
  45. class testConn11;
  46. class testConn12;
  47. #include "test.h"
  48.  
  49.  
  50. /*----------------------------------------------------------------------------*/
  51. /* Align classes on four byte boundary.                                       */
  52. /*----------------------------------------------------------------------------*/
  53. #pragma pack(4)
  54.  
  55. //*****************************************************************************
  56. // Class definition for test
  57. //*****************************************************************************
  58. class test : public IFrameWindow {
  59. public:
  60.    //---------------------------------------------------------------------------
  61.    // Constructors / destructors
  62.    //---------------------------------------------------------------------------
  63.    test(
  64.       unsigned long id = WND_test,
  65.       IWindow* parent = IWindow::desktopWindow(),
  66.       IWindow* owner = 0,
  67.       const IRectangle& rect = defaultFramingSpec(),
  68.       const IFrameWindow::Style& style = IFrameWindow::defaultStyle ( ),
  69.       const char* title = defaultTitle());
  70.  
  71.    virtual  ~test();
  72.  
  73.    //---------------------------------------------------------------------------
  74.    // public member functions
  75.    //---------------------------------------------------------------------------
  76.    static const IRectangle defaultFramingSpec();
  77.    static IString defaultTitle();
  78.    virtual test & initializePart();
  79.    test * getFrameWindow() { return this; };
  80.  
  81.    //---------------------------------------------------------------------------
  82.    // public member data
  83.    //---------------------------------------------------------------------------
  84.    static const INotificationId readyId;
  85.  
  86. protected:
  87.    //---------------------------------------------------------------------------
  88.    // protected member functions
  89.    //---------------------------------------------------------------------------
  90.    Boolean makeConnections();
  91.  
  92. private:
  93.    //---------------------------------------------------------------------------
  94.    // private member data
  95.    //---------------------------------------------------------------------------
  96.    ICanvas * iCanvas;
  97.    INotebook * iNotebook1;
  98.    IVBNotebookPage * iVBNotebookPage;
  99.    ICanvas * iCanvas2;
  100.    IEntryField * iEntryField4;
  101.    IVBNotebookPage * iVBNotebookPage1;
  102.    ICanvas * iCanvas1;
  103.    IEntryField * iEntryField5;
  104.    IVBNotebookPage * iVBNotebookPage2;
  105.    ICanvas * iCanvas3;
  106.    IEntryField * iEntryField3;
  107.    IEntryField * iEntryField1;
  108.    IPushButton * iPushButton1;
  109.    IPushButton * iPushButton2;
  110.    IEntryField * iEntryField2;
  111.    IStaticText * iStaticText1;
  112.    IStaticText * iStaticText2;
  113.    IEntryField * iEntryField6;
  114.    APageHandler * iAPageHandler1;
  115.    testConn0 * conn0;
  116.    testConn2 * conn2;
  117.    testConn4 * conn4;
  118.    testConn6 * conn6;
  119.    testConn8 * conn8;
  120.    testConn10 * conn10;
  121.    testConn11 * conn11;
  122.    testConn12 * conn12;
  123.    static unsigned long partWindowId;
  124.  
  125. friend class testConn12;
  126.  
  127. };   //test
  128.  
  129.  
  130. /*----------------------------------------------------------------------------*/
  131. /* Resume compiler default packing.                                           */
  132. /*----------------------------------------------------------------------------*/
  133. #pragma pack()
  134.  
  135. #endif
  136.