summaryrefslogtreecommitdiff
path: root/library/ir.h
Unidiff
Diffstat (limited to 'library/ir.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/ir.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/library/ir.h b/library/ir.h
new file mode 100644
index 0000000..33eedfe
--- a/dev/null
+++ b/library/ir.h
@@ -0,0 +1,31 @@
1#ifndef IR_H
2#define IR_H
3
4#include <qstring.h>
5#include <qobject.h>
6class DocLnk;
7class QCopChannel;
8
9class Ir : public QObject
10{
11 Q_OBJECT
12public:
13 static bool supported();
14
15 Ir( QObject *parent = 0, const char *name = 0);
16
17 void send( const QString &filename, const QString &description, const QString &mimetype = QString::null );
18 void send( const DocLnk &doc, const QString &description );
19
20signals:
21 void done( Ir * );
22
23private slots:
24 void obexMessage( const QCString &msg, const QByteArray &data);
25private:
26 QString filename;
27 QCopChannel *ch;
28};
29
30
31#endif