#ifndef _sqlite3db_\r
#define _sqlite3db_\r
\r
-#include <zthread/Singleton.h>\r
-#include <zthread/Mutex.h>\r
+//#include <zthread/Singleton.h>\r
+//#include <zthread/Mutex.h>\r
#include <sqlite3.h>\r
#include <string>\r
+#include "../../pthreadwrapper/singleton.h"\r
+#include "../../pthreadwrapper/mutex.h"\r
\r
#include "../sqlite3db.h"\r
\r
namespace SQLite3DB\r
{\r
\r
-class DB:public ZThread::Singleton<DB>\r
+class DB:public PThread::Singleton<DB>\r
{\r
public:\r
DB();\r
\r
sqlite3 *GetDB() { return m_db; }\r
\r
- ZThread::Mutex m_mutex; // public so that recordset and statment can lock this mutex themselves\r
+ PThread::Mutex m_mutex; // public so that recordset and statment can lock this mutex themselves\r
\r
private:\r
void Initialize();\r