/
bin/95/
docs/DM/
docs/creatures/
docs/objects/
docs/rooms/
docs/utils/
help/
log/
objmon/ddesc/
player/
post/
rooms/
util/
util/fing/
util/italk/
util/lev-reset/
util/lib/
util/list/
util/msg/
util/tdel/
util/vote/
util/wtfix/
//allkeys.hpp


#ifndef ALLKEYS_HPP
#define ALLKEYS_HPP

#include "chatmain.hpp"
#include "akey.hpp"

#include <stdlib.h> //for NULL


struct akeynode
{
  akey key;
  akeynode *next;
};



class allkeys
{
protected:
  akeynode *first,*current,*top;
  int numkeys;
public:
  enum {contnotset=-1};
  int contdbase; //signifies which datbase to use if this one fell thru
  allkeys() { current=first=top=NULL; numkeys=0; contdbase=contnotset;}
  akeynode* curr() {return current;}
  akeynode* addkey();
  akeynode* reset();
  akeynode* advance();
  ~allkeys();
};

#endif