author | zecke <zecke> | 2004-03-13 19:51:45 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-13 19:51:45 (UTC) |
commit | 6d08277737e22b7a1527124623f3571969073ddf (patch) (side-by-side diff) | |
tree | 4129e674e21df767b31299e873dd44e33a308e1b /libopie2/opiedb/osqlbackend.h | |
parent | 8e28911f7199f4450ac5eef09482069f9b9caea2 (diff) | |
download | opie-6d08277737e22b7a1527124623f3571969073ddf.zip opie-6d08277737e22b7a1527124623f3571969073ddf.tar.gz opie-6d08277737e22b7a1527124623f3571969073ddf.tar.bz2 |
Move XML class to internal PIM
Add namespaces!!!
Opie::Core and Opie::Core::Private
Opie::Net and Opie::Net::Private
Opie::Ui and Opie::Ui::Private
Opie::MM and Opie::MM::Private
Opie::DB and Opie::DB::Private
PIM classes are not yet converted because we will do other work
on it as well
-rw-r--r-- | libopie2/opiedb/osqlbackend.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libopie2/opiedb/osqlbackend.h b/libopie2/opiedb/osqlbackend.h index ad879a4..28451b6 100644 --- a/libopie2/opiedb/osqlbackend.h +++ b/libopie2/opiedb/osqlbackend.h @@ -1,32 +1,35 @@ #ifndef OSQL_BACKEND_H #define OSQL_BACKEND_H #include <qcstring.h> #include <qstring.h> #include <qvaluelist.h> + +namespace Opie { +namespace DB { /** * OSQLBackEnd represents an available backend * to the Opie Database Service * It's used to easily extend OSQL services by * 3rd party plugins. * It's used to show */ class OSQLBackEnd /*: public QShared */ { public: typedef QValueList<OSQLBackEnd> ValueList; /** * A basic c'tor * @param name the user visible name of the service * @param vendor the vendor of the service * @param license the license of the service * @param library what is the name of lib if builtin it's builtin */ OSQLBackEnd( const QString& name = QString::null, const QString& vendor = QString::null, const QString& license = QString::null, const QCString& library = QCString() ); OSQLBackEnd( const OSQLBackEnd& ); OSQLBackEnd &operator=( const OSQLBackEnd& ); bool operator==(const OSQLBackEnd& ); @@ -49,27 +52,32 @@ public: int preference()const; /** @param name the name to set */ void setName( const QString& name ); /** @param vendor the vendor to set */ void setVendor( const QString& vendor ); /** @param license the license applied */ void setLicense( const QString& license ); /** @param the lib to set */ void setLibrary( const QCString& lib ); void setDefault( bool ); void setPreference( int ); private: QString m_name; QString m_vendor; QString m_license; QCString m_lib; bool m_default :1; int m_pref; + class Private; + Private *d; }; +} +} + #endif |