home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / LinkB.idl < prev    next >
Text File  |  1997-04-02  |  5KB  |  136 lines

  1. /* @(#)Z 1.13 com/src/storage/idl/LinkB.idl, oddataxfer, od96os2, odos29712d 97/03/21 17:20:08 (96/10/28 13:40:44) */
  2.  
  3. //#====START_GENERATED_PROLOG======================================
  4. //#
  5. //#
  6. //#   COMPONENT_NAME: oddataxfer
  7. //#
  8. //#   CLASSES: none
  9. //#
  10. //#   ORIGINS: 82,27
  11. //#
  12. //#
  13. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  14. //#   All Rights Reserved
  15. //#   Licensed Materials - Property of IBM
  16. //#   US Government Users Restricted Rights - Use, duplication or
  17. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  18. //#
  19. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  20. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  21. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  22. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  23. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  24. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  25. //#   OR PERFORMANCE OF THIS SOFTWARE.
  26. //#
  27. //#====END_GENERATED_PROLOG========================================
  28. //#
  29.  
  30. //#     Copyright:      (R) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  31.  
  32. #ifndef _LINKB_
  33. #define _LINKB_
  34.  
  35. #ifndef _PSTOBJ_
  36. #include "PstObj.idl"
  37. #endif
  38.  
  39. //==============================================================================
  40. // Classes defined in this interface
  41. //==============================================================================
  42.  
  43. interface  ODBaseLink;
  44.  
  45. //==============================================================================
  46. // Classes used by this interface
  47. //==============================================================================
  48.  
  49. interface       ODLinkSource;
  50. interface       ODStorageUnit;
  51. interface       ODPart;
  52. interface       ODDraft;
  53. interface       ODFacet;
  54.  
  55.  
  56. //==============================================================================
  57. // ODLink
  58. //==============================================================================
  59.  
  60. interface ODBaseLink :  ODPersistentObject
  61. {
  62.         ODBoolean Lock(in ODULong wait, out ODLinkKey key);
  63.  
  64.         void Unlock(in ODLinkKey key);
  65.  
  66.         ODStorageUnit GetContentStorageUnit(in ODLinkKey key);
  67.  
  68.         void RegisterDependent(in ODPart clientPart, in ODUpdateID id);
  69.  
  70.         void UnregisterDependent(in ODPart clientPart);
  71.  
  72.         ODUpdateID GetUpdateID();
  73.  
  74.         ODTime GetChangeTime();
  75.  
  76.         void ShowSourceContent();
  77.  
  78. #if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_) || defined (_PLATFORM_OS2_)
  79.  
  80.         ODBoolean ShowLinkDestinationInfo(
  81.                                         in ODFacet facet,
  82.                                         in ODLinkInfo info,
  83.                                         in ODBoolean changesAllowed,
  84.                                         out ODLinkInfoResult infoResult);
  85.  
  86. #endif //# _PLATFORM_MACINTOSH_ or _PLATFORM_WIN32_
  87.  
  88. #ifdef _PLATFORM_OS2_
  89.     ODLinkSource GetLinkSource();
  90. #endif
  91.  
  92.  
  93. #ifdef __SOMIDL__
  94. #if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_AIX_)
  95.         implementation
  96.         {
  97.                 majorversion = 1; minorversion = 0;
  98.  
  99.                 functionprefix = ODBaseLink;
  100.  
  101.                 override:
  102.                         somUninit,
  103.                         Externalize,
  104.                         ReleaseAll,
  105.                         CloneInto;
  106.  
  107.                 releaseorder:
  108.                         Lock,
  109.                         Unlock,
  110.                         GetContentStorageUnit,
  111.                         RegisterDependent,
  112.                         UnregisterDependent,
  113.                         GetUpdateID,
  114.                         GetChangeTime,
  115.                         ShowSourceContent,
  116.                 #ifdef _PLATFORM_OS2_
  117.                         GetLinkSource,
  118.                 #endif
  119.                 #if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_) || defined (_PLATFORM_OS2_)
  120.                         ShowLinkDestinationInfo,
  121.                 #endif
  122.                         reserved1,
  123.                         reserved2,
  124.                         reserved3,
  125.                         reserved4,
  126.                         reserved5,
  127.                         reserved6,
  128.                         reserved7;
  129.  
  130.         };
  131. #endif //# _PLATFORM_MACINTOSH_ or _PLATFORM_WIN32_
  132. #endif //# __SOMIDL__
  133. };
  134.  
  135. #endif //# _LINKB_
  136.