]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/db/pg_driver.h
Removed obsolete stuff.
[stg.git] / projects / stargazer / plugins / store / db / pg_driver.h
diff --git a/projects/stargazer/plugins/store/db/pg_driver.h b/projects/stargazer/plugins/store/db/pg_driver.h
deleted file mode 100644 (file)
index 95b938f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef __PG_DRIVER_H__
-#define __PG_DRIVER_H__
-
-#include <libpq-fe.h>
-
-#include "base_db.h"
-
-extern "C" BASE_DB * CreateDriver();
-extern "C" void DestroyDriver(BASE_DB *);
-
-class PG_DRIVER : public BASE_DB {
-public:
-    virtual ~PG_DRIVER();
-
-    virtual bool Connect();
-    virtual bool Disconnect();
-    virtual bool Query(const std::string &);
-    virtual bool Start();
-    virtual bool Commit();
-    virtual bool Rollback();
-
-    virtual BASE_DB::TUPLES GetResult() const;
-    virtual BASE_DB::TUPLE GetTuple(int n = 0) const;
-
-private:
-    PGconn * conn;
-    PGresult * result;
-    COLUMNS cols;
-};
-
-#endif