summaryrefslogtreecommitdiff
path: root/library/ir.h
blob: 33eedfedc776cca9453efd40e1007775a4b646d2 (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 IR_H
#define IR_H

#include <qstring.h>
#include <qobject.h>
class DocLnk;
class QCopChannel;

class Ir : public QObject
{
    Q_OBJECT
public:
    static bool supported();
    
    Ir( QObject *parent = 0, const char *name = 0);
    
    void send( const QString &filename, const QString &description, const QString &mimetype = QString::null );
    void send( const DocLnk &doc, const QString &description );

signals:
    void done( Ir * );
    
private slots:
    void obexMessage( const QCString &msg, const QByteArray &data);
private:
    QString filename;
    QCopChannel *ch;
};


#endif