Advanced Strategic Command
pbem-server-dummy.cpp
Go to the documentation of this file.
1 
8 /*
9  This file is part of Advanced Strategic Command; http://www.asc-hq.de
10  Copyright (C) 1994-2010 Martin Bickel and Marc Schellenberger
11 
12  This program is free software; you can redistribute it and/or modify
13  it under the terms of the GNU General Public License as published by
14  the Free Software Foundation; either version 2 of the License, or
15  (at your option) any later version.
16 
17  This program is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with this program; see the file COPYING. If not, write to the
24  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
25  Boston, MA 02111-1307 USA
26 */
27 
28 #include "pbem-server.h"
29 #include "../util/messaginghub.h"
30 
32 ASCString PBEMServer::getDefaultServerAddress() { return "not supported"; };
33 void PBEMServer::setServerAddress( const ASCString& address )
34 {
35  warningMessage("This version of ASC was compiled without support PBEM Server");
36 };
37 
39 {
40  warningMessage("This version of ASC was compiled without support PBEM Server");
41 };
42 
43 void PBEMServer::writeChildData ( tnstream& stream ) const
44 {
45  warningMessage("This version of ASC was compiled without support PBEM Server");
46 }
47 
49 {
50  warningMessage("This version of ASC was compiled without support PBEM Server");
51 }
52 
53 void PBEMServer::send( const GameMap* map, int lastPlayer, int lastturn )
54 {
55  warningMessage("This version of ASC was compiled without support PBEM Server");
56 }
57 
58 
60 {
61  warningMessage("This version of ASC was compiled without support PBEM Server");
62  return NULL;
63 }
static ASCString getDefaultServerAddress()
void readChildData(tnstream &stream)
void send(const GameMap *map, int lastPlayer, int lastturn)
void warningMessage(const ASCString &str)
The interface for all kinds of IO stream.
The ASCString class provides an abstract way to manipulate strings.
Definition: ascstring.h:14
void writeChildData(tnstream &stream) const
GameMap * receive()
void setServerAddress(const ASCString &address)
The map. THE central structure of ASC, which holds everything not globally available together...
Definition: gamemap.h:182