Planeshift
cmdguilds.h
Go to the documentation of this file.
1 /*
2  * cmdguilds.h - Author: Keith Fulton
3  *
4  * Copyright (C) 2001 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation (version 2 of the License)
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19 
20 #ifndef __CMDGUILDS_H__
21 #define __CMDGUILDS_H__
22 //=============================================================================
23 // Crystal Space Includes
24 //=============================================================================
25 
26 //=============================================================================
27 // Project Includes
28 //=============================================================================
29 #include "net/cmdbase.h"
30 
31 //=============================================================================
32 // Local Includes
33 //=============================================================================
34 
35 
37 class psGuildCommands : public psCmdBase
38 {
39 public:
41  CmdHandler* ch,
42  iObjectRegistry* obj );
43  virtual ~psGuildCommands();
44 
45  virtual const char *HandleCommand(const char *cmd);
46 
47  virtual void HandleMessage(MsgEntry *msg);
48 };
49 
50 #endif
51 
virtual ~psGuildCommands()
Manager class for handling guild client commands.
Definition: cmdguilds.h:37
The structure of 1 queue entry (pointer to a message)
Definition: message.h:143
virtual void HandleMessage(MsgEntry *msg)
Handles messages to be sent out, connects to server and send those.
psGuildCommands(ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj)
virtual const char * HandleCommand(const char *cmd)
Interprets a received message and executes the command.