summaryrefslogtreecommitdiff
path: root/muggle-plugin/mg_database.h
blob: b979df44bc1043d1f533af190e53ede8b2a6b6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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