summaryrefslogtreecommitdiff
path: root/libodbcpp/dsn.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-06-11 09:03:42 +0000
committerrandomdan <randomdan@localhost>2010-06-11 09:03:42 +0000
commit1df33cc9d9a7804c78788d5717435ede44855ca0 (patch)
treeb78e66de0a9f7d6bb39038d6f628cbc871ffa652 /libodbcpp/dsn.h
parentInitial workings of project2 - renders gentoobrowse homepage (diff)
downloadlibdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.tar.bz2
libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.tar.xz
libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.zip
Use Glib::ustring in libodbcpp for data and std::string for non-data
Add support for parameters in SqlViews Uses parameters to implement category browse and search
Diffstat (limited to 'libodbcpp/dsn.h')
-rw-r--r--libodbcpp/dsn.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libodbcpp/dsn.h b/libodbcpp/dsn.h
index 0aee953..6be7e3b 100644
--- a/libodbcpp/dsn.h
+++ b/libodbcpp/dsn.h
@@ -1,16 +1,16 @@
#ifndef DSN_H
#define DSN_H
-#include "ustring.h"
+#include <string>
namespace ODBC {
class DSN {
public:
- DSN(String, String, String);
+ DSN(const std::string &, const std::string &, const std::string &);
virtual ~DSN();
- String dsn; // DSN name for odbc.ini
- String username; // User name
- String password; // Password
+ const std::string dsn; // DSN name for odbc.ini
+ const std::string username; // User name
+ const std::string password; // Password
};
}