summaryrefslogtreecommitdiff
path: root/core/applets/obex/obeximpl.h
blob: 888bfeaf1516aa28a7f982eb4cc6ace3b7174379 (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
27
28
29
30
31

#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& );
   /*   void slotError(int );
   void slotCurrentTry( unsigned int );
   void slotDone(bool);
   void slotReceivedFile(const QString & );
   void slotSent();*/
  };
};
#endif