comparison OrthancServer/DatabaseWrapper.h @ 1235:9b4977e3c19d

abstraction
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Dec 2014 14:31:46 +0100
parents efece308018e
children 21d84e3acc0d
comparison
equal deleted inserted replaced
1234:a65ad39596cb 1235:9b4977e3c19d
213 DatabaseWrapper(const std::string& path, 213 DatabaseWrapper(const std::string& path,
214 IServerIndexListener& listener); 214 IServerIndexListener& listener);
215 215
216 DatabaseWrapper(IServerIndexListener& listener); 216 DatabaseWrapper(IServerIndexListener& listener);
217 217
218 SQLite::Transaction* StartTransaction() 218 SQLite::ITransaction* StartTransaction()
219 { 219 {
220 return new SQLite::Transaction(db_); 220 return new SQLite::Transaction(db_);
221 } 221 }
222 222
223 const char* GetErrorMessage() const 223 const char* GetErrorMessage() const