-rw-r--r-- | library/ir.h | 31 |
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> | ||
6 | class DocLnk; | ||
7 | class QCopChannel; | ||
8 | |||
9 | class Ir : public QObject | ||
10 | { | ||
11 | Q_OBJECT | ||
12 | public: | ||
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 | |||
20 | signals: | ||
21 | void done( Ir * ); | ||
22 | |||
23 | private slots: | ||
24 | void obexMessage( const QCString &msg, const QByteArray &data); | ||
25 | private: | ||
26 | QString filename; | ||
27 | QCopChannel *ch; | ||
28 | }; | ||
29 | |||
30 | |||
31 | #endif | ||