author | zecke <zecke> | 2002-06-21 14:15:04 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-21 14:15:04 (UTC) |
commit | ab08162e2b10fdd4844e2864f445c6b125ce4f60 (patch) (unidiff) | |
tree | aaf7e0acc13efa2e58c19b191375c7a40cff6893 /core/applets/obex | |
parent | e6834009bf23492e009258e3881ce183cf9e27a0 (diff) | |
download | opie-ab08162e2b10fdd4844e2864f445c6b125ce4f60.zip opie-ab08162e2b10fdd4844e2864f445c6b125ce4f60.tar.gz opie-ab08162e2b10fdd4844e2864f445c6b125ce4f60.tar.bz2 |
Fix compilation
-rw-r--r-- | core/applets/obex/obex.pro | 4 | ||||
-rw-r--r-- | core/applets/obex/obeximpl.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/applets/obex/obex.pro b/core/applets/obex/obex.pro index 6915737..a8c2340 100644 --- a/core/applets/obex/obex.pro +++ b/core/applets/obex/obex.pro | |||
@@ -1,12 +1,12 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS= obex.h obeximpl.h | 3 | HEADERS= obex.h obeximpl.h |
4 | SOURCES= obex.cc obeximpl.cc | 4 | SOURCES= obex.cc obeximpl.cc |
5 | TARGET = opieobex | 5 | TARGET = opieobex |
6 | DESTDIR = ../../plugins/obex | 6 | DESTDIR = $(OPIEDIR)/plugins/obex |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include $(OPIEDIR)/core/launcher |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | INTERFACES = obexinc.ui obexdlg.ui | 9 | INTERFACES = obexinc.ui obexdlg.ui |
10 | LIBS += -lqpe -lopie | 10 | LIBS += -lqpe -lopie |
11 | VERSION = 0.0.1 | 11 | VERSION = 0.0.1 |
12 | 12 | ||
diff --git a/core/applets/obex/obeximpl.h b/core/applets/obex/obeximpl.h index 8d10cf1..78d5b25 100644 --- a/core/applets/obex/obeximpl.h +++ b/core/applets/obex/obeximpl.h | |||
@@ -1,30 +1,30 @@ | |||
1 | 1 | ||
2 | #ifndef OpieObexImpl_H | 2 | #ifndef OpieObexImpl_H |
3 | #define OpieObexImpl_H | 3 | #define OpieObexImpl_H |
4 | 4 | ||
5 | #include <qobject.h> | 5 | #include <qobject.h> |
6 | #include "../obexinterface.h" | 6 | #include <obexinterface.h> |
7 | #include "obexdlg.h" | 7 | #include "obexdlg.h" |
8 | #include "obexinc.h" | 8 | #include "obexinc.h" |
9 | #include <qpe/qcopenvelope_qws.h> | 9 | #include <qpe/qcopenvelope_qws.h> |
10 | 10 | ||
11 | namespace OpieObex { | 11 | namespace OpieObex { |
12 | class Obex; | 12 | class Obex; |
13 | class ObexImpl : public QObject, public ObexInterface { | 13 | class ObexImpl : public QObject, public ObexInterface { |
14 | Q_OBJECT | 14 | Q_OBJECT |
15 | public: | 15 | public: |
16 | ObexImpl(); | 16 | ObexImpl(); |
17 | virtual ~ObexImpl(); | 17 | virtual ~ObexImpl(); |
18 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | 18 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); |
19 | Q_REFCOUNT // for reference counting (macro ) | 19 | Q_REFCOUNT // for reference counting (macro ) |
20 | private: | 20 | private: |
21 | ulong ref; | 21 | ulong ref; |
22 | Obex* m_obex; // obex lib | 22 | Obex* m_obex; // obex lib |
23 | QCopChannel *m_chan; | 23 | QCopChannel *m_chan; |
24 | ObexDlg *m_sendgui; | 24 | ObexDlg *m_sendgui; |
25 | ObexInc *m_recvgui; | 25 | ObexInc *m_recvgui; |
26 | QString m_name; | 26 | QString m_name; |
27 | private slots: | 27 | private slots: |
28 | void slotCancelSend(); | 28 | void slotCancelSend(); |
29 | void slotMessage( const QCString&, const QByteArray& ); | 29 | void slotMessage( const QCString&, const QByteArray& ); |
30 | void slotError(int ); | 30 | void slotError(int ); |