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

  1. /* @(#)Z 1.13 com/src/storage/idl/LinkSrcB.idl, oddataxfer, od96os2, odos29712d 97/03/21 17:20:10 (96/10/28 13:40:48) */
  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 _LINKSRCB_
  33. #define _LINKSRCB_
  34.  
  35. #ifndef _PSTOBJ_
  36. #include "PstObj.idl"
  37. #endif
  38.  
  39. //==============================================================================
  40. // Classes defined in this interface
  41. //==============================================================================
  42.  
  43. interface  ODBaseLinkSource;
  44.  
  45. //==============================================================================
  46. // Classes used by this interface
  47. //==============================================================================
  48.  
  49. interface ODStorageUnit;
  50. interface ODPart;
  51. interface ODPartList;
  52. interface ODLink;
  53. interface ODDraft;
  54. interface ODFacet;
  55.  
  56.  
  57. //==============================================================================
  58. // ODBaseLinkSource
  59. //==============================================================================
  60.  
  61. interface ODBaseLinkSource :  ODPersistentObject
  62. {
  63.         ODBoolean Lock(in ODULong wait,
  64.                                         out ODLinkKey key);
  65.  
  66.         void Unlock(in ODLinkKey key);
  67.  
  68.         void Clear(in ODUpdateID id, in ODLinkKey key);
  69.  
  70.         ODStorageUnit GetContentStorageUnit(in ODLinkKey key);
  71.  
  72.         void ContentUpdated(in ODUpdateID id, in ODLinkKey key);
  73.  
  74. #if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_) || defined(_PLATFORM_OS2_)
  75.  
  76.         ODBoolean ShowLinkSourceInfo(
  77.                                         in ODFacet facet,
  78.                                         in ODUpdateID change,
  79.                                         in ODBoolean changesAllowed,
  80.                                         out ODLinkInfoResult infoResult);
  81.  
  82. #endif //# _PLATFORM_MACINTOSH_ or _PLATFORM_WIN32_
  83.  
  84.         //#---------------------------------
  85.         //# Getters
  86.  
  87.         ODUpdateID GetUpdateID();
  88.         ODTime GetChangeTime();
  89.         ODBoolean IsAutoUpdate();
  90.  
  91.         //#---------------------------------
  92.         //# Setters
  93.  
  94.         void SetAutoUpdate(in ODBoolean automatic);
  95.         void SetSourcePart(in ODStorageUnit sourcePartSU);
  96.  
  97.  
  98. #ifdef __SOMIDL__
  99. #if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_AIX_)
  100.         implementation
  101.         {
  102.                 majorversion = 1; minorversion = 0;
  103.  
  104.                 functionprefix = ODBaseLinkSource;
  105.  
  106.                 override:
  107.                         somInit,
  108.                         somUninit,
  109.                         Externalize,
  110.                         ReleaseAll,
  111.                         CloneInto;
  112.  
  113.                 releaseorder:
  114.                         Lock,
  115.                         Unlock,
  116.                         Clear,
  117.                         GetContentStorageUnit,
  118.                         ContentUpdated,
  119.                         GetUpdateID,
  120.                         SetAutoUpdate,
  121.                         IsAutoUpdate,
  122.                         SetSourcePart,
  123.                         GetChangeTime,
  124.                         ShowLinkSourceInfo,
  125.                         reserved1,
  126.                         reserved2,
  127.                         reserved3,
  128.                         reserved4,
  129.                         reserved5,
  130.                         reserved6,
  131.                         reserved7,
  132.                         reserved8,
  133.                         reserved9,
  134.                         reserved10,
  135.                         reserved11;
  136.  
  137.         };
  138. #endif //# _PLATFORM_MACINTOSH_ or _PLATFORM_WIN32_ or _PLATFORM_OS2_
  139. #endif //# __SOMIDL__
  140. };
  141.  
  142. #endif //# _LINKSRCB_
  143.