Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

MessageQueue.h

Go to the documentation of this file.
00001 #ifndef _MESSAGE_QUEUE_H_
00002 #define _MESSAGE_QUEUE_H_
00003 
00004 #include "message.h"
00005 
00006 class MessageQueue{
00007 private:
00008         Message *msg;
00009         int num;
00010         int max;
00011 public:
00012         MessageQueue(int max);
00013         void newMessage(int playerid, const char *msg);
00014         void MessageQueue::newMessage(msgstruct msg);
00015         int deleteMessages(int id);
00016         msgstruct getNextMessage();
00017         int getNumMessages();
00018         bool isEmpty();
00019         int delMessageFrom(int id);
00020 };
00021 
00022 #endif

Generated on Sun Jun 5 15:47:04 2005 for Defacto by  doxygen 1.4.3