summaryrefslogtreecommitdiff
path: root/core/applets/obex/obeximpl.h
blob: 996627be739597f0a7ff9701560b7b2858ceedac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#ifndef OpieObexImpl_H
#define OpieObexImpl_H

#include "../obexinterface.h"
#include <qpe/qcopenvelope_qws.h>

namespace OpieObex {
  class Obex;
  class ObexImpl  : public ObexInterface, public QObject {
    Q_OBJECT
  public:
    ObexImpl();
    virtual ObexImpl();
    QRESULT queryInterface( const QUuid&, QUnknownInterface** );
    Q_REFCOUNT // for reference counting (macro )
  private:
    ulong ref;
    Obex* m_obex; // obex lib
    QCopChannel *m_chan;
   private slots:
     void slotMessage( const QCString&, const QByteArray& );
  };
};
#endif