home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tolkit45.zip
/
os2tk45
/
som
/
include
/
mlink.idl
< prev
next >
Wrap
Text File
|
1999-02-22
|
2KB
|
93 lines
//# @(#) 2.10 src/somuc/mlink.idl, somuc, som2.1 12/26/95 15:31:44 [7/30/96 14:49:58]
//
// COMPONENT_NAME: somuc
//
// ORIGINS: 82, 81, 27
//
//
// 25H7912 (C) COPYRIGHT International Business Machines Corp. 1992,1996,1996
// All Rights Reserved
// Licensed Materials - Property of IBM
// US Government Users Restricted Rights - Use, duplication or
// disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
// Copyright ⌐ 1988, 1989 Apple Computer, Inc. All rights reserved.
/*
* CLASS_NAME: somf_MLinkable
*
* DESCRIPTION: This class defines the general attributes of objects that
* contain links. For example, TPrimitiveLinkedList uses
* somf_MLinkable.
*
*/
#ifndef MLink_idl
#define MLink_idl
#include <somobj.idl>
interface somf_MLinkable : SOMObject
{
somf_MLinkable somfMLinkableInit(in somf_MLinkable n,
in somf_MLinkable p);
// This method initialized the somf_MLinkable object using n and p.
//# MLinkable(MLinkable* n, MLinkable* p) { fNext = n; fPrevious = p;}
//# since MLinkable has no logic in it's destructor, the
//# following destructor has been commented out.
//#
//# ~MLinkable() {}
somf_MLinkable somfGetNext();
// This method returns a pointer to the next somf_MLinkable.
//# MLinkable* GetNext() const { return fNext;}
void somfSetNext(in somf_MLinkable aLink);
// This method sets the pointer to the next somf_MLinkable.
//# void SetNext(MLinkable* aLink) { fNext = aLink;}
somf_MLinkable somfGetPrevious();
// This method returns a pointer to the previous somf_MLinkable.
//# MLinkable* GetPrevious() const { return fPrevious;}
void somfSetPrevious(in somf_MLinkable aLink);
// This method sets the pointer to the previous somf_MLinkable.
//# void SetPrevious(MLinkable* aLink) { fPrevious = aLink;}
#ifdef __SOMIDL__
implementation {
releaseorder: somfGetNext,somfSetNext,somfGetPrevious,somfSetPrevious,
somfMLinkableInit;
//# Class Modifiers
majorversion = 2;
minorversion = 1;
filestem = mlink;
dllname = "somuc.dll";
//# Internal Instance Variables
somf_MLinkable fNext;
somf_MLinkable fPrevious;
//# Method Modifiers
somInit: override;
somfMLinkableInit: nooverride;
//# Data Modifiers
};
#endif /* __SOMIDL__ */
};
#endif /* MLink_idl */