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) (side-by-side diff)
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 @@
+#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