summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/xfiregameresolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/xfiregameresolver.h')
-rw-r--r--protocols/Xfire/src/xfiregameresolver.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/protocols/Xfire/src/xfiregameresolver.h b/protocols/Xfire/src/xfiregameresolver.h
index 1215550009..7ed6969cbe 100644
--- a/protocols/Xfire/src/xfiregameresolver.h
+++ b/protocols/Xfire/src/xfiregameresolver.h
@@ -25,28 +25,26 @@
#include "buddylistgamespacket.h"
#include "xfiregame.h"
-#include <string>
namespace xfirelib {
- /**
- * This is a virtual class which users of the library can
- * subclass so they can use their own gameid <-> XFireGame object
- * resolver (Implementors might want to consider that their application
- * also requires backward converting .. from game to gameid since
- * SendGameStatusPacket requires a gameid.
- */
- class XFireGameResolver {
- public:
- virtual ~XFireGameResolver() { }
-
- /**
- * this method should resolve the gameid
- * and return a new XFireGame object or NULL if it was not resolvable.
- * (if more information is needed, it can be taken from packet->xxx[iterator])
- */
- virtual XFireGame *resolveGame(int gameid, int iterator, BuddyListGamesPacket *packet) = 0;
- };
+ /**
+ * This is a virtual class which users of the library can
+ * subclass so they can use their own gameid <-> XFireGame object
+ * resolver (Implementors might want to consider that their application
+ * also requires backward converting .. from game to gameid since
+ * SendGameStatusPacket requires a gameid.
+ */
+ class XFireGameResolver {
+ public:
+ virtual ~XFireGameResolver() { }
+ /**
+ * this method should resolve the gameid
+ * and return a new XFireGame object or NULL if it was not resolvable.
+ * (if more information is needed, it can be taken from packet->xxx[iterator])
+ */
+ virtual XFireGame *resolveGame(int gameid, int iterator, BuddyListGamesPacket *packet) = 0;
+ };
};
#endif