summaryrefslogtreecommitdiff
path: root/core/applets/obex/obeximpl.h
blob: d5159e1c641806148e1b7e209d65b3ad3118982b (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
26

#ifndef OpieObexImpl_H
#define OpieObexImpl_H

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

namespace OpieObex {
  class Obex;
  class ObexImpl  :  public QObject, public ObexInterface {
    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