Planeshift
cmdgroups.h
Go to the documentation of this file.
1 /*
2  * cmdgroups.h by Anders Reggestad <andersr@pvv.org>
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 __CMDGROUPS_H__
21 #define __CMDGROUPS_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 
38 class psGroupCommands : public psCmdBase
39 {
40 public:
42  CmdHandler* ch,
43  iObjectRegistry* obj);
44  virtual ~psGroupCommands();
45 
59  virtual const char *HandleCommand(const char *cmd);
60 
61  virtual void HandleMessage(MsgEntry *msg);
62 };
63 
64 #endif
The structure of 1 queue entry (pointer to a message)
Definition: message.h:143
Handles messages to be sent out, connects to server and send those.
Manager class to help with handling of &#39;group&#39; commands.
Definition: cmdgroups.h:38
psGroupCommands(ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj)
virtual const char * HandleCommand(const char *cmd)
Handles a command to send to the server.
virtual void HandleMessage(MsgEntry *msg)
virtual ~psGroupCommands()