home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osr1.exe / src / ILNKTRGT.idl < prev    next >
Text File  |  1997-03-21  |  4KB  |  127 lines

  1. /* @(#)Z 1.5 os2/src/storage/idl/ILNKTRGT.idl, oddataxfer, od96os2, odos29712d 97/03/21 17:21:40 (96/08/26 13:42:17) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: oddataxfer
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29. /********************************************************************/
  30. /*                                                                  */
  31. /* Copyright (C) Apple Computer, Inc., 1994                         */
  32. /*                                                                  */
  33. /********************************************************************/
  34.  
  35.  
  36. #ifndef _ILNKTRGT_
  37. #define _ILNKTRGT_
  38.  
  39. #include <Link.idl>
  40. #include <IODDefs.idl>
  41.  
  42. interface IODLinkService;
  43. interface IODLinkTargetToLinkSource;
  44. interface ODLinkSpec;
  45.  
  46. interface IODLinkTarget : ODLink
  47. {
  48.  
  49.   #ifdef __PRIVATE__
  50.  
  51.     void EstablishLink (in ODLinkSpec linkSpec,
  52.                         in  IODLinkService trgtLinkService);
  53.       // Called in Draft::GetLink to establish a link from the given LinkSpec.
  54.  
  55.     void InitLinkTarget (in ODStorageUnit su,
  56.                          in IODFileName pathName); /* name from which doc was read */
  57.       // Called in Draft::GetLink to initialize the LinkTarget after it is
  58.       //   created.
  59.  
  60.     void InitLinkTargetFromStorage (in ODStorageUnit su,
  61.                                     in IODFileName pathName); /* name from which doc was read */
  62.       // Called in Draft::GetLink to initialize the LinkTarget from a
  63.       //   pre-existing storage unit.
  64.  
  65.     oneway void RemoveLink ();
  66.       // Called by LinkSource to inform that source Part has broken the link.
  67.  
  68.   #endif //__PRIVATE__
  69.  
  70.   #ifdef __SOMIDL__
  71.     implementation {
  72.       override:
  73.         #ifdef __PRIVATE__
  74.         GetLinkSourceConnectionData,
  75.         GetConnectionData,
  76.         #endif //__PRIVATE__
  77.         somInit,
  78.         somUninit,
  79.         Externalize,
  80.         CloneInto,
  81.         GetUpdateID,
  82.         GetChangeTime,
  83.         GetContentStorageUnit,
  84.         GetLinkSource,
  85.         Lock,
  86.         RegisterDependent,
  87.         Release,
  88.         ReleaseAll,
  89.         ShowSourceContent,
  90.         Unlock,
  91.         UnregisterDependent,
  92.         SetDescription,
  93.         GetDescription,
  94.         IsRegistered;
  95.  
  96.       releaseorder:
  97.         #ifdef __PRIVATE__
  98.           EstablishLink,
  99.           InitLinkTarget,
  100.           InitLinkTargetFromStorage,
  101.           RemoveLink;
  102.         #else
  103.           reserved1,
  104.           reserved2,
  105.           reserved3,
  106.           reserved4;
  107.         #endif //__PRIVATE__
  108.  
  109.       #ifdef __PRIVATE__
  110.         ODLinkConnectionID        fConnID;
  111.         ODBoolean                 fIsLocal;
  112.         ODLinkID                  fLinkID;
  113.         IODLinkTargetToLinkSource fLinkSrc;
  114.         ODULong                   fNumOfRegParts;
  115.         ODLinkConnectionData       fTrgtConnData;
  116.         ODStorageUnitID           fTrgtPartSUID;
  117.         ODBoolean                 fTracked;
  118.         ODULong                   fPID;
  119.         ODISOStr                  fASName;
  120.         ODBoolean                 fIsRegistered;
  121.       #endif //__PRIVATE__
  122.     };
  123.   #endif //__SOMIDL__
  124. };
  125.  
  126. #endif //_ILNKTRGT_
  127.