summaryrefslogtreecommitdiff
path: root/library/ir.h
authorkergoth <kergoth>2002-01-25 22:14:26 (UTC)
committer kergoth <kergoth>2002-01-25 22:14:26 (UTC)
commit15318cad33835e4e2dc620d033e43cd930676cdd (patch) (unidiff)
treec2fa0399a2c47fda8e2cd0092c73a809d17f68eb /library/ir.h
downloadopie-15318cad33835e4e2dc620d033e43cd930676cdd.zip
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2
Initial revision
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