Show clientstate.h syntax highlighted
/***************************************************************************
clientstate.h
-------------------
begin : Wed Feb 2 2005
copyright : (C) 2005 by Brendon Lloyd Higgins
email : bh_doc@users.sourceforge.net
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef CLIENTSTATE_H_INCLUDED
#define CLIENTSTATE_H_INCLUDED
class Client;
class ClientState {
public:
/**
* Constructor. Don't do anything significant in a derived constructor.
*/
ClientState();
/**
* Destructor.
*/
virtual ~ClientState();
/**
* This is what makes things go! The majority of initialisation and cleanup
* should be in here and not in (de/con)structors.
*/
virtual ClientState* go(Client* client) = 0;
};
#endif /* ndef CLIENTSTATE_H_INCLUDED */
See more files for this project here