summaryrefslogtreecommitdiff
path: root/libsql/osqlmanager.h
Unidiff
Diffstat (limited to 'libsql/osqlmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libsql/osqlmanager.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/libsql/osqlmanager.h b/libsql/osqlmanager.h
deleted file mode 100644
index b3d8d69..0000000
--- a/libsql/osqlmanager.h
+++ b/dev/null
@@ -1,62 +0,0 @@
1
2#ifndef OSQL_MANAGER_H
3#define OSQL_MANAGER_H
4
5#include <qobject.h>
6
7#include "osqlbackend.h"
8
9/**
10 * OSQLManager is responsible for loading
11 * and unloading, querying different OSQL
12 * services
13 * Load a OSQLDriver and delete it yourself
14 *
15 */
16class OSQLDriver;
17class OSQLManager : public QObject {
18 Q_OBJECT
19public:
20 /**
21 * Empty c'tor
22 */
23 OSQLManager();
24
25 /**
26 * Query the Manager for different backends
27 */
28 OSQLBackEnd::ValueList queryBackEnd();
29
30 /**
31 * Load a backend with it's name from param name
32 */
33 OSQLDriver* load( const QString& name );
34
35 /**
36 * Load a OSQLDevice from const reference of OSQLBackEnd
37 */
38 OSQLDriver* load( const OSQLBackEnd& );
39
40 /**
41 * loads the Opie standard backend
42 */
43 OSQLDriver *standard();
44
45 /**
46 * register path to the search path list
47 * When querying for services we scan all the
48 * registered path for backends
49 */
50 void registerPath( const QString& path );
51
52 /**
53 * unregisterPath from the search path list
54 */
55 bool unregisterPath( const QString& path );
56private:
57 OSQLBackEnd::ValueList builtIn()const;
58 OSQLBackEnd::ValueList m_list;
59 QStringList m_path;
60};
61
62#endif