summaryrefslogtreecommitdiff
path: root/libsql/osqlbackend.h
Unidiff
Diffstat (limited to 'libsql/osqlbackend.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libsql/osqlbackend.h75
1 files changed, 0 insertions, 75 deletions
diff --git a/libsql/osqlbackend.h b/libsql/osqlbackend.h
deleted file mode 100644
index ad879a4..0000000
--- a/libsql/osqlbackend.h
+++ b/dev/null
@@ -1,75 +0,0 @@
1
2#ifndef OSQL_BACKEND_H
3#define OSQL_BACKEND_H
4
5#include <qcstring.h>
6#include <qstring.h>
7#include <qvaluelist.h>
8
9/**
10 * OSQLBackEnd represents an available backend
11 * to the Opie Database Service
12 * It's used to easily extend OSQL services by
13 * 3rd party plugins.
14 * It's used to show
15 */
16class OSQLBackEnd /*: public QShared */ {
17public:
18 typedef QValueList<OSQLBackEnd> ValueList;
19 /**
20 * A basic c'tor
21 * @param name the user visible name of the service
22 * @param vendor the vendor of the service
23 * @param license the license of the service
24 * @param library what is the name of lib if builtin it's builtin
25 */
26 OSQLBackEnd( const QString& name = QString::null,
27 const QString& vendor = QString::null,
28 const QString& license = QString::null,
29 const QCString& library = QCString() );
30 OSQLBackEnd( const OSQLBackEnd& );
31 OSQLBackEnd &operator=( const OSQLBackEnd& );
32 bool operator==(const OSQLBackEnd& );
33
34 ~OSQLBackEnd();
35
36 /** @return the name */
37 QString name()const;
38
39 /** @return the vendor */
40 QString vendor()const;
41
42 /** @return the license */
43 QString license()const;
44
45 /** @return the name of the library */
46 QCString library() const;
47
48 bool isDefault()const;
49 int preference()const;
50
51 /** @param name the name to set */
52 void setName( const QString& name );
53
54 /** @param vendor the vendor to set */
55 void setVendor( const QString& vendor );
56
57 /** @param license the license applied */
58 void setLicense( const QString& license );
59
60 /** @param the lib to set */
61 void setLibrary( const QCString& lib );
62
63 void setDefault( bool );
64 void setPreference( int );
65
66private:
67 QString m_name;
68 QString m_vendor;
69 QString m_license;
70 QCString m_lib;
71 bool m_default :1;
72 int m_pref;
73};
74
75#endif