/*********************************************************** * WindowMud - Window Mud Server * * File: Descriptor.h * * Usage: Defines the Descriptor class * * * * No warranty is given or implied. * * There is no license associated with this code. * * There are no restrictions on the use of this code. * * This code may be used in any way the reader wishes. * * No credit or credits are given and none are required. * * The reader may take this code and claim they wrote it. * ************************************************************/ #ifndef DESCRIPTOR_H #define DESCRIPTOR_H /*********************************************************** * Includes * ************************************************************/ #include "Config.h" // Server #include "Dnode.h" /*********************************************************** * Define Descriptor class * ************************************************************/ class Descriptor { // Public functions static public: Descriptor(); ~Descriptor(); void static AppendIt(); void static ClearDescriptor(); bool static DeleteNode(); bool static EndOfDnodeList(); Dnode static *GetDnode(); void static InitDescriptor(); void static SetpDnodeCursorFirst(); void static SetpDnodeCursorNext(); void static SetpDnodeCursorPrev(); }; #endif