extensions/clientprefs/query.h
changeset 2048 2454ff4d6afb
parent 2009 1a1236dfdbb1
child 2087 c1ac266bd660
     1.1 --- a/extensions/clientprefs/query.h	Mon May 12 02:05:57 2008 +0000
     1.2 +++ b/extensions/clientprefs/query.h	Mon May 12 08:06:47 2008 +0000
     1.3 @@ -41,13 +41,14 @@
     1.4  	Query_InsertCookie = 0,
     1.5  	Query_SelectData,
     1.6  	Query_InsertData,
     1.7 +	Query_SelectId,
     1.8  };
     1.9  
    1.10  class TQueryOp : public IDBThreadOperation
    1.11  {
    1.12  public:
    1.13 -	TQueryOp(IDatabase *db, IPreparedQuery *query, enum querytype type, int client);
    1.14 -	TQueryOp(IDatabase *db, IPreparedQuery *query, enum querytype type, Cookie *cookie);
    1.15 +	TQueryOp(IDatabase *db, const char *query, enum querytype type, int client);
    1.16 +	TQueryOp(IDatabase *db, const char *query, enum querytype type, Cookie *cookie);
    1.17  	~TQueryOp() {}
    1.18  
    1.19  	IDBDriver *GetDriver();
    1.20 @@ -64,7 +65,8 @@
    1.21  
    1.22  private:
    1.23  	IDatabase *m_pDatabase;
    1.24 -	IPreparedQuery *m_pQuery;
    1.25 +	IQuery *m_pQuery;
    1.26 +	SourceHook::String m_Query;
    1.27  	char error[255];
    1.28  	enum querytype m_type;
    1.29  	int m_client;