Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/* $XConsortium: AttributeStore.h /main/2 1996/07/18 16:38:25 drk $ */
//---------------------------------------------------------
// AttributeSore.h
#ifndef ATT_STORE
#define ATT_STORE
#include "AttributeRec.h"
class AttributeStore {
private:
AttributeRec *head;
AttributeRec *current;
public:
char *lookup ( char * );
int add ( AttributeRec * );
AttributeRec *getNext() {
AttributeRec *ptr;
if ( current ) {
ptr = current;
current = current->next;
return (ptr );
}
else {
return ( NULL );
}
}
AttributeStore();
~AttributeStore();
};
#endif