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

  1. /* @(#)Z 1.4 com/src/core/idl/ValueNS.idl, odcore, od96os2, odos29712d 97/03/21 17:18:16 (96/10/29 09:23:10) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  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. //#    Copyright:    (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  30.  
  31. #ifndef _VALUENS_
  32. #define _VALUENS_
  33.  
  34. #ifndef _NAMSPAC_
  35. #include "NamSpac.idl"
  36. #endif
  37.  
  38. //==============================================================================
  39. // Classes defined in this interface
  40. //==============================================================================
  41.  
  42. interface  ODValueNameSpace;
  43.  
  44. //==============================================================================
  45. // Classes used by this interface
  46. //==============================================================================
  47.  
  48. interface  ODValueIterator;
  49.  
  50.  
  51. //==============================================================================
  52. // ODValueNameSpace
  53. //==============================================================================
  54.  
  55. interface ODValueNameSpace :  ODNameSpace
  56. {
  57.    void Register(in ODISOStr key,
  58.                     in ODByteArray value);
  59.  
  60.    ODBoolean GetEntry(in ODISOStr key,
  61.                   out  ODByteArray value);
  62.  
  63.    ODValueIterator CreateIterator();
  64.  
  65.   
  66. #ifdef __SOMIDL__
  67.     implementation
  68.       {
  69.     majorversion = 1; minorversion = 0;
  70.     
  71.     functionprefix = ODValueNameSpace;
  72.     
  73.     override:
  74.         somUninit,
  75.         Purge,
  76.         Unregister,
  77.         WriteToFile,
  78.         ReadFromFile,
  79.         WriteToStorage,
  80.         ReadFromStorage;
  81.         
  82.     releaseorder:
  83.         Register,
  84.         GetEntry,
  85.         CreateIterator,
  86.         reserved1,
  87.         reserved2,
  88.         reserved3;
  89.  
  90.   };
  91. #endif //# __SOMIDL__
  92. };
  93.  
  94. #endif //# _VALUENS_
  95.