Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
32
cde/programs/dtinfo/dtinfogen/infolib/etc/AttributeList.h
Normal file
32
cde/programs/dtinfo/dtinfogen/infolib/etc/AttributeList.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/* $XConsortium: AttributeList.h /main/3 1996/08/21 15:46:01 drk $ */
|
||||
//---------------------------------------------------------
|
||||
// AttributeList.h
|
||||
|
||||
#ifndef ATT_LIST_HDR
|
||||
#define ATT_LIST_HDR
|
||||
|
||||
#include <stdio.h>
|
||||
#include "AttributeRec.h"
|
||||
|
||||
|
||||
class OL_AttributeList {
|
||||
|
||||
friend class Token;
|
||||
|
||||
protected:
|
||||
AttributeRec *head;
|
||||
AttributeRec *tail;
|
||||
|
||||
AttributeRec *lookup ( int ) const;
|
||||
void insert(AttributeRec * );
|
||||
|
||||
const AttributeRec *GetFirstAttr() const;
|
||||
const AttributeRec *GetNextAttr( const AttributeRec *) const;
|
||||
OL_AttributeList();
|
||||
~OL_AttributeList();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user