gamestatuslistener.h

Go to the documentation of this file.
00001 #ifndef TPPROTO_GAMESTATUSLISTENER_H
00002 #define TPPROTO_GAMESTATUSLISTENER_H
00003 /*  GameStatusListener - Listener for changes in status.
00004  *
00005  *  Copyright (C) 2005, 2008  Lee Begg and the Thousand Parsec Project
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation; either version 2 of the License, or
00010  *  (at your option) any later version.
00011  *
00012  *  This program is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *  GNU General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License
00018  *  along with this program; if not, write to the Free Software
00019  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  */
00022 
00027 namespace TPProto{
00028 
00031     class GameStatusListener{
00032     public:
00035         virtual ~GameStatusListener(){};
00036 
00039         virtual void connected() = 0;
00040 
00051         virtual bool redirected(const std::string& url) = 0;
00052 
00055         virtual void disconnected() = 0;
00056 
00060         virtual void accountCreated(bool status) = 0;
00061         
00065         virtual void loggedIn(bool status) = 0;
00066 
00071         virtual void eotStarted() = 0;
00072 
00077         virtual void eotEnded() = 0;
00078 
00082         virtual void timeToEot(uint32_t timetoeot) = 0;
00083 
00084     };
00085 
00086 }
00087 #endif

Generated on Tue Jan 6 09:00:50 2009 for libtpproto-cpp by  doxygen 1.5.1