summaryrefslogtreecommitdiff
path: root/library/ir.h
Side-by-side diff
Diffstat (limited to 'library/ir.h') (more/less context) (show 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 @@
+#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