home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / IDDECCNV.INL < prev    next >
Text File  |  1993-10-22  |  5KB  |  114 lines

  1. #ifndef _IDDECCNV_INL_
  2. #define _IDDECCNV_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: iddeccnv.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in iddeccnv.hpp.                                        *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19. #ifndef _IDDECCNV_
  20.   #undef  _IDDECCNV_INL_
  21.   #define _IDDECCNV_INL_ 1
  22.   #include <iddeccnv.hpp>
  23. #endif
  24.  
  25. #if _IDDECCNV_INL_
  26.   #define inline
  27. #endif
  28.  
  29. inline IString IDDEClientConversation :: application ( ) const
  30. /*------------------------------------------------------------------------------
  31. | IDDEClientConversation::application                                          |
  32. ------------------------------------------------------------------------------*/
  33. {
  34.    return strClApplication;
  35. }
  36.  
  37. inline IString IDDEClientConversation :: topic ( ) const
  38. /*------------------------------------------------------------------------------
  39. | IDDEClientConversation::topic                                                |
  40. ------------------------------------------------------------------------------*/
  41. {
  42.    return strClTopic;
  43. }
  44.  
  45. inline IBase::Boolean IDDEClientConversation :: isCaseSensitive ( ) const
  46. /*------------------------------------------------------------------------------
  47. | IDDEClientConversation::caseSensitive                                        |
  48. ------------------------------------------------------------------------------*/
  49. {
  50.    return fClCaseSensitive;
  51. }
  52.  
  53. inline IWindowHandle IDDEClientConversation :: serverHandle ( ) const
  54. /*------------------------------------------------------------------------------
  55. | IDDEClientConversation::serverHandle                                         |
  56. ------------------------------------------------------------------------------*/
  57. {    
  58.    return wndhClServer;
  59. }    
  60.  
  61. inline IBase::Boolean IDDEClientConversation :: inConversation ( ) const
  62. /*------------------------------------------------------------------------------
  63. | IDDEClientConversation::inConversation                                       |
  64. ------------------------------------------------------------------------------*/
  65. {
  66.    if (serverHandle())
  67.       return true;
  68.    else
  69.       return false;
  70. }
  71.      
  72. inline IWindowHandle IDDEClientConversation :: clientHandle ( ) const
  73. /*------------------------------------------------------------------------------
  74. | IDDEClientConversation::clientHandle                                         |
  75. ------------------------------------------------------------------------------*/
  76. {    
  77.    return wndhClClient;
  78. }    
  79.      
  80. inline IDDEClosedConversationSet& IDDEClientConversation :: closedConversations ( ) const
  81. /*------------------------------------------------------------------------------
  82. | IDDEClientConversation::closedConversations                                  |
  83. ------------------------------------------------------------------------------*/
  84. {    
  85.    return *pClsdConvSetCl;
  86. }    
  87.      
  88. inline IDDETransactionQueue& IDDEClientConversation :: transactions ( ) const
  89. /*------------------------------------------------------------------------------
  90. | IDDEClientConversation::transactions                                         |
  91. ------------------------------------------------------------------------------*/
  92. {    
  93.    return *pTransQCl;
  94. }
  95.  
  96. inline IDDEFormatSet& IDDEClientConversation :: formats ( ) const
  97. /*------------------------------------------------------------------------------
  98. | IDDEClientConversation::formats                                              |
  99. ------------------------------------------------------------------------------*/
  100. {
  101.    return *pFormatSetCl;
  102. }
  103.  
  104. inline unsigned long IDDEClientConversation :: queueHandle ( ) const
  105. /*------------------------------------------------------------------------------
  106. | IDDEClientConversation::queueHandle                                          |
  107. ------------------------------------------------------------------------------*/
  108. {
  109.    return ulClQHandle;
  110. }
  111.  
  112. #endif // _IDDECCNV_INL_
  113.  
  114.