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