CLIENT PREFS ARE GO!!1!shiftone!!1!

Fully implemented amb734 - Including console interface and menu for clients to use.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402140
This commit is contained in:
Matt Woodrow
2008-05-12 08:06:47 +00:00
parent 6e91780e73
commit d88ba02fde
22 changed files with 1177 additions and 112 deletions
+5 -3
View File
@@ -41,13 +41,14 @@ enum querytype
Query_InsertCookie = 0,
Query_SelectData,
Query_InsertData,
Query_SelectId,
};
class TQueryOp : public IDBThreadOperation
{
public:
TQueryOp(IDatabase *db, IPreparedQuery *query, enum querytype type, int client);
TQueryOp(IDatabase *db, IPreparedQuery *query, enum querytype type, Cookie *cookie);
TQueryOp(IDatabase *db, const char *query, enum querytype type, int client);
TQueryOp(IDatabase *db, const char *query, enum querytype type, Cookie *cookie);
~TQueryOp() {}
IDBDriver *GetDriver();
@@ -64,7 +65,8 @@ public:
private:
IDatabase *m_pDatabase;
IPreparedQuery *m_pQuery;
IQuery *m_pQuery;
SourceHook::String m_Query;
char error[255];
enum querytype m_type;
int m_client;