summaryrefslogtreecommitdiff
path: root/project2/rdbmsDataSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/rdbmsDataSource.h')
-rw-r--r--project2/rdbmsDataSource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/project2/rdbmsDataSource.h b/project2/rdbmsDataSource.h
index 74ed829..49266e1 100644
--- a/project2/rdbmsDataSource.h
+++ b/project2/rdbmsDataSource.h
@@ -6,18 +6,18 @@
#include <map>
#include "sourceObject.h"
#include "connection.h"
-#include "ustring.h"
class _RdbmsDataSource : public _Project2SourceObject {
public:
- _RdbmsDataSource(xmlNodePtr p);
- operator ODBC::Connection &();
- const ustring masterDsn;
+ _RdbmsDataSource(const xmlpp::Element * p);
+ ODBC::Connection & getReadonly();
+ ODBC::Connection & getWritable();
+ const Glib::ustring masterDsn;
private:
boost::shared_ptr<ODBC::Connection> database;
};
typedef boost::shared_ptr<_RdbmsDataSource> RdbmsDataSource;
-typedef std::map<ustring, RdbmsDataSource> RdbmsDataSources;
+typedef std::map<std::string, RdbmsDataSource> RdbmsDataSources;
#endif