summaryrefslogtreecommitdiff
path: root/libopie2/opiedb
Unidiff
Diffstat (limited to 'libopie2/opiedb') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/opiedb.pro8
-rw-r--r--libopie2/opiedb/osqlmanager.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/libopie2/opiedb/opiedb.pro b/libopie2/opiedb/opiedb.pro
index 401646a..3612f0e 100644
--- a/libopie2/opiedb/opiedb.pro
+++ b/libopie2/opiedb/opiedb.pro
@@ -7,26 +7,32 @@ HEADERS = osqlbackend.h \
7 osqlmanager.h \ 7 osqlmanager.h \
8 osqlquery.h \ 8 osqlquery.h \
9 osqlresult.h \ 9 osqlresult.h \
10 osqltable.h \ 10 osqltable.h \
11 osqlbackendmanager.h \ 11 osqlbackendmanager.h \
12 osqlitedriver.h 12 osqlitedriver.h
13SOURCES = osqlbackend.cpp \ 13SOURCES = osqlbackend.cpp \
14 osqldriver.cpp \ 14 osqldriver.cpp \
15 osqlerror.cpp \ 15 osqlerror.cpp \
16 osqlmanager.cpp \ 16 osqlmanager.cpp \
17 osqlquery.cpp \ 17 osqlquery.cpp \
18 osqlresult.cpp \ 18 osqlresult.cpp \
19 osqltable.cpp \ 19 osqltable.cpp \
20 osqlbackendmanager.cpp \ 20 osqlbackendmanager.cpp \
21 osqlitedriver.cpp 21 osqlitedriver.cpp
22INTERFACES = 22INTERFACES =
23TARGET = opiedb2 23TARGET = opiedb2
24VERSION = 1.8.1 24VERSION = 1.8.1
25INCLUDEPATH += $(OPIEDIR)/include 25INCLUDEPATH += $(OPIEDIR)/include
26DEPENDPATH += $(OPIEDIR)/include 26DEPENDPATH += $(OPIEDIR)/include
27 27
28MOC_DIR = moc 28MOC_DIR = moc
29OBJECTS_DIR = obj 29OBJECTS_DIR = obj
30 30
31include ( $(OPIEDIR)/include.pro ) 31!contains( platform, x11 ) {
32 include ( $(OPIEDIR)/include.pro )
33}
34
35contains( platform, x11 ) {
36 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
37}
32 38
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,32 +1,34 @@
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 */