summaryrefslogtreecommitdiff
path: root/src/storage.cpp
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-06-16 13:33:28 +0000
committerAaron Marks <nymacro@gmail.com>2005-06-16 13:33:28 +0000
commit154515dbaeff0dfb0501f96464a7016945f45fbd (patch)
tree3d692be134ad8ea83883c284d5e62fea8e2d2c09 /src/storage.cpp
parentd55a795784c6e8e6d1167c623390da584f4df078 (diff)
downloadmanaserv-154515dbaeff0dfb0501f96464a7016945f45fbd.tar.gz
manaserv-154515dbaeff0dfb0501f96464a7016945f45fbd.tar.bz2
manaserv-154515dbaeff0dfb0501f96464a7016945f45fbd.tar.xz
manaserv-154515dbaeff0dfb0501f96464a7016945f45fbd.zip
Created Storage child which uses DAL (used by default now).
Updated RecoredSet to allow access to rows() and cols().
Diffstat (limited to 'src/storage.cpp')
-rw-r--r--src/storage.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/storage.cpp b/src/storage.cpp
index 8d066130..4fd9a7e0 100644
--- a/src/storage.cpp
+++ b/src/storage.cpp
@@ -22,7 +22,8 @@
*/
#include "storage.h"
-#include "sqlitestorage.h"
+#include "dalstorage.h"
+//#include "sqlitestorage.h"
Storage *Storage::instance = NULL;
@@ -39,7 +40,7 @@ Storage *Storage::getInstance()
{
if (instance == NULL)
{
- instance = new SQLiteStorage();
+ instance = new DALStorage(); //SQLiteStorage();
}
return instance;