summaryrefslogtreecommitdiff
path: root/core/obex/btobex.h
Side-by-side diff
Diffstat (limited to 'core/obex/btobex.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/btobex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/obex/btobex.h b/core/obex/btobex.h
index 7e91c06..d9bd886 100644
--- a/core/obex/btobex.h
+++ b/core/obex/btobex.h
@@ -11,48 +11,49 @@
    .%+i>       _;_.
    .i_,=:_.      -<s. This library is distributed in the hope that
     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
    : ..    .:,     . . . without even the implied warranty of
    =_        +     =;=| MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>: PARTICULAR PURPOSE. See the GNU
..}^=.=       =       ; Library General Public License for more
++=   -.     .     .: details.
 :     =  ...= . :.=-
 -.   .:....=;==+<; You should have received a copy of the GNU
  -_. . .   )=.  = Library General Public License along with
  --        :-= this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
/*
* The Bluetooth OBEX manipulating class declaration
*/
#ifndef OpieBtObex_H
#define OpieBtObex_H
+#ifdef BLUETOOTH
#include "obexbase.h"
#include <qobject.h>
#include <services.h>
#include <manager.h>
#include <obexpush.h>
#include "obexserver.h"
namespace Opie {namespace Core {class OProcess;}}
class QCopChannel;
using namespace OpieTooth;
namespace OpieObex {
// Maybe this should be derved from Obex.
class BtObex : public ObexBase {
Q_OBJECT
public:
/**
* BtObex c'tor look
*/
BtObex( QObject *parent, const char* name);
/**
* d'tor
*/
~BtObex();
@@ -93,26 +94,26 @@ namespace OpieObex {
OpieTooth::Manager* btManager;
void shutDownReceive();
ObexServer* m_rec;
private slots:
// Push process slots
void slotPushStatus(QCString&);
void slotPushComplete(int);
void slotPushError(int);
// the process exited
void slotExited(Opie::Core::OProcess*) ;
void slotStdOut(Opie::Core::OProcess*, char*, int);
void slotError();
void slotFoundServices(const QString&, Services::ValueList);
private:
void sendNow();
QString parseOut();
void received();
};
};
-
+#endif //BLUETOOTH
#endif