home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / tdeqlink.idl < prev    next >
Text File  |  1999-02-22  |  2KB  |  86 lines

  1. //#  @(#) 2.10 src/somuc/tdeqlink.idl, somuc, som2.1 12/26/95 15:36:35 [7/30/96 14:50:04]
  2. //
  3. //   COMPONENT_NAME: somuc
  4. //
  5. //   ORIGINS: 82, 81, 27
  6. //
  7. //
  8. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,1996  
  9. //   All Rights Reserved
  10. //   Licensed Materials - Property of IBM
  11. //   US Government Users Restricted Rights - Use, duplication or
  12. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  13. //
  14. //   Copyright ⌐ 1988, 1989 Apple Computer, Inc. All rights reserved.
  15.  
  16. /*
  17.  * CLASS_NAME: somf_TDequeLinkable
  18.  *
  19.  * DESCRIPTION: This class provides the user with a generic MLinkable
  20.  *              containing a long value.
  21.  *
  22.  */
  23.  
  24. #ifndef TDeqLink_idl
  25. #define TDeqLink_idl
  26.  
  27. #include <mlink.idl>
  28.  
  29. interface somf_MCollectible;
  30.  
  31. interface somf_TDequeLinkable : somf_MLinkable
  32. {
  33.   somf_TDequeLinkable somfTDequeLinkableInitDDM(in somf_TDequeLinkable previous,
  34.                          in somf_TDequeLinkable next,
  35.                          in somf_MCollectible v);
  36.  
  37.   // This method initializes the somf_TDequeLinkable object.
  38.   //#  TDequeLinkable(TDequeLinkable* previous, TDequeLinkable* next, MCollectible* v = SOMF_NIL);
  39.  
  40.   somf_TDequeLinkable somfTDequeLinkableInitDD(in somf_TDequeLinkable previous,
  41.                         in somf_TDequeLinkable next);
  42.  
  43.   // This method initializes the somf_TDequeLinkable object.
  44.   //#  TDequeLinkable(TDequeLinkable* previous, TDequeLinkable* next, MCollectible* v = SOMF_NIL);
  45.  
  46.   somf_MCollectible somfGetValue();
  47.  
  48.   // This method gets the value of the somf_TDequeLinkable.
  49.   //#   MCollectible*   GetValue() { return fValue;}
  50.  
  51.   void somfSetValue(in somf_MCollectible v);
  52.  
  53.   // This method sets the value of the somf_TDequeLinkable.
  54.   //#   void SetValue(MCollectible* v) { fValue = v;}
  55.  
  56.  
  57.  
  58. #ifdef __SOMIDL__
  59.   implementation {
  60.  
  61.     releaseorder: somfGetValue,somfSetValue,
  62.           somfTDequeLinkableInitDDM,somfTDequeLinkableInitDD;
  63.  
  64.     //# Class Modifiers
  65.     majorversion = 2;
  66.     minorversion = 1;
  67.     filestem = tdeqlink;
  68.     dllname = "somuc.dll";
  69.  
  70.  
  71.     //# Internal Instance Variables
  72.     somf_MCollectible fValue;
  73.  
  74.     //# Method Modifiers
  75.     somInit: override;
  76.     somfTDequeLinkableInitDDM: nooverride;
  77.     somfTDequeLinkableInitDD: nooverride;
  78.  
  79.     //# Data Modifiers
  80.  
  81.   };
  82. #endif /* __SOMIDL__ */
  83. };
  84.  
  85. #endif  /* TDeqLink_idl */
  86.