home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / istatnry.inl < prev    next >
Encoding:
Text File  |  1996-02-22  |  3.1 KB  |  147 lines

  1. #ifndef _ISTATNRY_INL_
  2. #define _ISTATNRY_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: istatnry.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   classes declared in istatnry.hpp.                                          *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 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. *******************************************************************************/
  18. #ifndef _ISTATNRY_
  19.   #undef  _ISTATNRY_INL_
  20.   #define _ISTATNRY_INL_ 1
  21.   #include <istatnry.hpp>
  22. #endif
  23.  
  24. #if _ISTATNRY_INL_
  25.   #define inline
  26. #endif
  27.  
  28.  
  29. //===============================================================================
  30. //
  31. // inline members of class IComponentStationery
  32. //
  33.  
  34. inline
  35. IGUIBundle&
  36. IComponentStationery::bundle() const
  37.     return *fpBundle;
  38. }
  39.  
  40. inline
  41. const IString&
  42. IComponentStationery::appName() const
  43. {
  44.     return fstrAppName;
  45. }
  46.  
  47. inline
  48. const IString&
  49. IComponentStationery::fileExt() const
  50. {
  51.     return fstrFileExt;
  52. }
  53.  
  54. inline
  55. const IString&
  56. IComponentStationery::shortName() const
  57. {
  58.     return fstrShortName;
  59. }
  60.  
  61. inline
  62. Boolean
  63. IComponentStationery::isEmbedded() const
  64. {
  65.     return fbEmbedded;
  66. }
  67.  
  68. inline
  69. Boolean
  70. IComponentStationery::isServer() const
  71. {
  72.     return true;
  73. }
  74.  
  75. inline
  76. CAswControl&
  77. IComponentStationery::control() const
  78. {
  79.     return *fpAswControl;
  80. }
  81.  
  82. inline
  83. IComponentStationery::operator CAswControl* () const
  84. {
  85.     return &control();
  86. }
  87.  
  88. inline
  89. IComponentFactory&
  90. IComponentStationery::componentFactory() const
  91. {
  92.     return *fpComponentFactory;
  93. }
  94.  
  95. inline
  96. IAswClipboardSource&
  97. IComponentStationery::clipSource() const
  98. {
  99.     return *fpClipSource;
  100. }
  101.  
  102. inline
  103. IAswPasteTarget&
  104. IComponentStationery::pasteTarget() const
  105. {
  106.     return *fpPasteTarget;
  107. }
  108.  
  109. inline
  110. IAswDragSource&
  111. IComponentStationery::dragSource() const
  112. {
  113.     return *fpDragSource;
  114. }
  115.  
  116. inline
  117. CLIPFORMAT
  118. IComponentStationery::cfEmbeddedObject() const
  119. {
  120.     return fcfEmbeddedObject;
  121. }
  122.  
  123. inline
  124. CLIPFORMAT
  125. IComponentStationery::cfObjectDescriptor() const
  126.     return fcfObjectDescriptor;
  127. }
  128.  
  129. inline
  130. CLIPFORMAT
  131. IComponentStationery::cfLinkSource() const
  132. {
  133.     return fcfLinkSource;
  134. }
  135.  
  136. inline
  137. CLIPFORMAT
  138. IComponentStationery::cfLinkSrcDescriptor() const
  139.     return fcfLinkSrcDescriptor;
  140. }
  141.  
  142. #endif /* _ISTATNRY_INL_ */
  143.  
  144.