home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / ivbnbkpg.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  3.9 KB  |  106 lines

  1. #ifndef _IVBNBKPG_
  2.   #define _IVBNBKPG_
  3. /*******************************************************************************
  4. * FILE NAME: ivbnbkpg.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the class(es):                                              *
  8. *    IVBNotebookPage - IBM Visual Builder Notebook Page part.                  *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM(R) VisualAge(TM) for C++                                               *
  12. *   (C) Copyright International Business Machines Corporation 1991, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *   This program will not run in DOS mode.                                     *
  18. *                                                                              *
  19. *******************************************************************************/
  20.  
  21. #ifndef _ISTDNTFY_
  22.   #include <istdntfy.hpp>
  23. #endif
  24.  
  25. #ifndef _INOTEBK_
  26.   #include <inotebk.hpp>
  27. #endif
  28.  
  29. /*-------------------------- Pragma Library Support --------------------------*/
  30. #ifndef __NO_DEFAULT_LIBS__
  31.   #ifdef __OS2__
  32.     #ifdef __IMPORTLIB__
  33.        #pragma library("CPPOOV3I.LIB")
  34.     #else
  35.        #pragma library("CPPOOV3.LIB")
  36.     #endif
  37.   #endif
  38.   #ifdef __WINDOWS__
  39.     #ifdef __IMPORTLIB__
  40.        #pragma library("CPPWOV3I.LIB")
  41.     #else
  42.        #pragma library("CPPWOV3.LIB")
  43.     #endif
  44.   #endif
  45. #endif
  46.  
  47. /*----------------------------------------------------------------------------*/
  48. /* Align classes on four byte boundary.                                       */
  49. /*----------------------------------------------------------------------------*/
  50. #pragma pack(4)
  51.  
  52. //*************************************************************
  53. // Class definition for IVBNotebookPage
  54. //*************************************************************
  55. class IVBNotebookPage : public IStandardNotifier {
  56. public:
  57.  
  58. //*************************************************************
  59. // Constructors / destructors
  60. //*************************************************************
  61.   IVBNotebookPage (INotebook * parent,
  62.                    const INotebook::PageSettings::Attribute & attribute,
  63.                    IWindow * pageWindow = 0);
  64. virtual
  65.  ~IVBNotebookPage();
  66.  
  67. virtual IVBNotebookPage
  68.  &setStatusText   (const char* statusText),
  69.  &setStatusText   (const IResourceId&   resourceId),
  70.  &setTabText      (const char* tabText),
  71.  &setTabText      (const IResourceId& resourceId),
  72.  &setTabBitmap    (const IBitmapHandle& bitmap),
  73.  &setTabBitmap    (const IResourceId& resourceId),
  74.  &setWindow       (IWindow* window = 0);
  75.  
  76. virtual IString
  77.   statusText      () const,
  78.   tabText         () const;
  79.  
  80. virtual IBitmapHandle
  81.   tabBitmap       () const;
  82.  
  83. virtual IWindow
  84.  *window          () const;
  85.  
  86. virtual const IWindow
  87.  *notebook        () const;
  88.  
  89. virtual IPageHandle
  90.    pageHandle     () const;
  91.  
  92. private:
  93. //*************************************************************
  94. // private member data
  95. //*************************************************************
  96. INotebook * parentNB;
  97. IPageHandle pgHandle;
  98. };   //IVBNotebookPage
  99.  
  100. /*----------------------------------------------------------------------------*/
  101. /* Resume compiler default packing.                                           */
  102. /*----------------------------------------------------------------------------*/
  103. #pragma pack()
  104.  
  105. #endif
  106.