summaryrefslogtreecommitdiff
path: root/muggle-plugin/mg_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'muggle-plugin/mg_database.h')
-rw-r--r--muggle-plugin/mg_database.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/muggle-plugin/mg_database.h b/muggle-plugin/mg_database.h
new file mode 100644
index 0000000..b979df4
--- /dev/null
+++ b/muggle-plugin/mg_database.h
@@ -0,0 +1,34 @@
+/*******************************************************************/
+/*! \file mg_database.h
+ * \brief A capsule around MySql database access
+ ********************************************************************
+ * \version $Revision: 1.1 $
+ * \date $Date: 2004/02/01 18:22:53 $
+ * \author Ralf Klueber, Lars von Wedel, Andreas Kellner
+ * \author file owner: $Author: LarsAC $
+ */
+/*******************************************************************/
+
+
+#ifndef __MG_DATABASE_H
+#define __MG_DATABASE_H
+
+#include <string>
+
+#include <mysql/mysql.h>
+
+class mgDB
+{
+ public:
+
+ mgDB( );
+ mgDB( std::string user, std::string pass );
+ ~mgDB();
+
+ MYSQL getDBHandle();
+
+ private:
+ // MYSQL m_dbase;
+};
+
+#endif