diff options
author | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-05-28 15:29:19 +0000 |
---|---|---|
committer | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-05-28 15:29:19 +0000 |
commit | 616adfc77dc1d08f3bfcd79991a78c6350e4e2f6 (patch) | |
tree | a47349dfb9e7729736c7b5892681a7c1c61dff89 /mg_database.h | |
parent | 1a95137eb0f4d533bc38377558de8ccc442e5de6 (diff) | |
download | vdr-plugin-muggle-616adfc77dc1d08f3bfcd79991a78c6350e4e2f6.tar.gz vdr-plugin-muggle-616adfc77dc1d08f3bfcd79991a78c6350e4e2f6.tar.bz2 |
Merged player branch back on HEAD branch.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@98 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'mg_database.h')
-rw-r--r-- | mg_database.h | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/mg_database.h b/mg_database.h index b979df4..4e00826 100644 --- a/mg_database.h +++ b/mg_database.h @@ -1,34 +1,47 @@ -/*******************************************************************/ -/*! \file mg_database.h - * \brief A capsule around MySql database access - ******************************************************************** - * \version $Revision: 1.1 $ - * \date $Date: 2004/02/01 18:22:53 $ +/*! + * \file mg_database.h + * \brief A capsule around MySql database access + * + * \version $Revision: 1.2 $ + * \date $Date: 2004/05/28 15:29:18 $ * \author Ralf Klueber, Lars von Wedel, Andreas Kellner - * \author file owner: $Author: LarsAC $ + * \author Responsible author: $Author: lvw $ */ -/*******************************************************************/ - #ifndef __MG_DATABASE_H #define __MG_DATABASE_H #include <string> - #include <mysql/mysql.h> class mgDB { public: + /*! \brief default constructor + */ mgDB( ); - mgDB( std::string user, std::string pass ); + + /*! \brief constructor + * + * \param host + * \param name + * \param user + * \param pass + * \param port + */ + mgDB( std::string host, std::string name, + std::string user, std::string pass, + int port ); + + /*! \brief constructor */ ~mgDB(); + /*! \brief obtain database handle*/ MYSQL getDBHandle(); private: - // MYSQL m_dbase; + MYSQL m_dbase; }; #endif |