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

  1. #ifndef _IDDECSET_
  2. #define _IDDECSET_
  3. /*******************************************************************************
  4. * FILE NAME: iddecset.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IDDEActiveServer                                                         *
  9. *     IDDEActiveServerSet                                                      *
  10. *     IDDEClientHotLinkSet                                                     *
  11. *                                                                              *
  12. * COPYRIGHT:                                                                   *
  13. *   IBM Open Class Library                                                     *
  14. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  15. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  16. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  17. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  18. *                                                                              *
  19. *******************************************************************************/
  20. #include <ibase.hpp>
  21. #include <istring.hpp>
  22. #include <iddeevt.hpp>
  23. #include <ireslock.hpp>
  24. #include <iset.h>
  25.  
  26. #pragma pack(4)
  27.  
  28.  
  29. class IDDEActiveServer : public IBase {
  30. typedef IBase
  31.   Inherited;
  32. public:
  33. /*------------------------------- Constructors -------------------------------*/
  34.   IDDEActiveServer ( const char* applicationName,
  35.                      const char* topicName,
  36.                      Boolean     caseSensitive );
  37.  
  38.  ~IDDEActiveServer ( );
  39.  
  40. /*---------------------------- Server Attributes -----------------------------*/
  41. IString
  42.   application ( ) const,
  43.   topic       ( ) const;
  44.  
  45. Boolean
  46.   isCaseSensitive ( ) const;
  47.  
  48. private:
  49. /*--------------------------------- Private ----------------------------------*/
  50. IString
  51.   strClApplication,
  52.   strClTopic;
  53. Boolean
  54.   fClCaseSensitive;
  55.  
  56. }; // IDDEActiveServer
  57.  
  58. class IDDEActiveServerSet : public ISet<IDDEActiveServer*> {
  59. public:
  60. /*------------------------------- Constructors -------------------------------*/
  61.   IDDEActiveServerSet ( );
  62.  
  63.  ~IDDEActiveServerSet ( );
  64.  
  65. private:
  66. /*----------------------------- Hidden Functions -----------------------------*/
  67.   IDDEActiveServerSet ( const IDDEActiveServerSet& activeSet );
  68. IDDEActiveServerSet
  69.  &operator=           ( const IDDEActiveServerSet& activeSet );
  70.  
  71. }; // IDDEActiveServerSet
  72.  
  73. class IDDEClientHotLinkSet : public ISet<IDDEClientHotLinkEvent*> {
  74. public:
  75. /*------------------------------- Constructors -------------------------------*/
  76.   IDDEClientHotLinkSet ( );
  77.  ~IDDEClientHotLinkSet ( );
  78.  
  79. private:
  80. /*------------------------------ Hidden Members ------------------------------*/
  81.   IDDEClientHotLinkSet ( const IDDEClientHotLinkSet& hotLinkSet );
  82. IDDEClientHotLinkSet
  83.  &operator=            ( const IDDEClientHotLinkSet& hotLinkSet );
  84.  
  85. /*--------------------------------- Private ----------------------------------*/
  86. friend class IDDEClientConversation;
  87.  
  88. IPrivateResource
  89.  &semaphor ( );
  90.  
  91. IPrivateResource
  92.   priResCl;
  93.  
  94. }; // IDDEClientHotLinkSet
  95.  
  96.  
  97. #pragma pack()
  98.  
  99.   #include <iddecset.inl>
  100.  
  101. #endif // _IDDECSET_
  102.