home *** CD-ROM | disk | FTP | other *** search
- /*******************************************************************************
- * FILE NAME: idsccabs.hpp *
- * *
- * DESCRIPTION: *
- * Declaration of the class: *
- * IDSConnectCanvasBase- Base for connect canvas using abstract IDatastoreBase*
- * ---------------------------------------------------------------------------- *
- * Warning: This file was generated by the VisualAge C++ Visual Builder. *
- * Modifications to this source file will be lost when the part is regenerated. *
- *******************************************************************************/
- #ifndef _IDSCCABS_
- #define _IDSCCABS_
-
- class IDSConnectCanvasBase;
-
- #include <imcelcv.hpp>
- #include <iobservr.hpp>
- #include <ientryfd.hpp>
- #include <ivbvprtp.h>
- #include <idsmcbs.hpp>
- #include <irect.hpp>
- #include "idsccabs.h"
- #include <ivbdefs.h>
- class IVBConnectionList;
-
- class IStaticText;
- class IPushButton;
- class IMessageBox;
-
- /*----------------------------------------------------------------------------*/
- /* Align classes on four byte boundary. */
- /*----------------------------------------------------------------------------*/
- #pragma pack(4)
-
- //*****************************************************************************
- // Class definition for IDSConnectCanvasBase
- //*****************************************************************************
- class IDSConnectCanvasBase : public IMultiCellCanvas, public IObserver {
- public:
- //---------------------------------------------------------------------------
- // Constructors / destructors
- //---------------------------------------------------------------------------
- IDSConnectCanvasBase(
- unsigned long id = WND_IDSConnectCanvasBase,
- IWindow * parent = IWindow::desktopWindow(),
- IWindow * owner = 0,
- const IRectangle & rect = defaultFramingSpec(),
- const IMultiCellCanvas::Style & style = IMultiCellCanvas::defaultStyle());
-
- virtual ~IDSConnectCanvasBase();
-
- //---------------------------------------------------------------------------
- // public member functions
- //---------------------------------------------------------------------------
- static IRectangle defaultFramingSpec();
- virtual IDSConnectCanvasBase & initializePart();
- IDSConnectCanvasBase * getMultiCellCanvas() { return this; };
- IVBVariablePartPointer<IDatastoreBase *> * getDatastoreBase() const { return iDatastoreBase; };
- IEntryField * getuserName() const { return iuserName; };
- IEntryField * getauthentication() const { return iauthentication; };
-
- //---------------------------------------------------------------------------
- // public member data
- //---------------------------------------------------------------------------
- static const INotificationId IVB_IMPORT readyId;
- static const INotificationId IVB_IMPORT datastoreBase;
- static const INotificationId IVB_IMPORT userNameText;
- static const INotificationId IVB_IMPORT authenticationText;
- static const INotificationId IVB_IMPORT datastoreBaseConnected;
- static const INotificationId IVB_IMPORT datastoreBaseDisconnected;
- static const INotificationId IVB_IMPORT datastoreBaseTransacted;
- static const INotificationId IVB_IMPORT datastoreBaseIsConnected;
-
- protected:
- //---------------------------------------------------------------------------
- // protected member functions
- //---------------------------------------------------------------------------
- void makeConnections();
- virtual IObserver & dispatchNotificationEvent(const INotificationEvent & anEvent);
-
- private:
- //---------------------------------------------------------------------------
- // private member data
- //---------------------------------------------------------------------------
- IStaticText * idatastoreName;
- IEntryField * iuserName;
- IEntryField * iauthentication;
- IPushButton * iPushButton1;
- IPushButton * iPushButton3;
- IPushButton * iPushButton4;
- IPushButton * iPushButton2;
- IStaticText * iStaticText2;
- IStaticText * iStaticText3;
- IVBVariablePartPointer<IDatastoreBase *> * iDatastoreBase;
- IMessageBox * iMessageBox1;
- IVBConnectionList * iIDSConnectCanvasBaseConnectionList;
-
-
- }; //IDSConnectCanvasBase
-
-
- /*----------------------------------------------------------------------------*/
- /* Resume compiler default packing. */
- /*----------------------------------------------------------------------------*/
- #pragma pack()
-
- #endif
-