X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=ut%2Fstubs%2Fqdbusmessage.h;fp=ut%2Fstubs%2Fqdbusmessage.h;h=eb1b986fe44efc9b6f69d8890b74019534a35fdd;hb=5e34767d7b0623f88fd9b5ad835fe07accc7b52f;hp=0000000000000000000000000000000000000000;hpb=3cad907180c5713733293b3f5b0104bae41fb9a7;p=irwi diff --git a/ut/stubs/qdbusmessage.h b/ut/stubs/qdbusmessage.h new file mode 100644 index 0000000..eb1b986 --- /dev/null +++ b/ut/stubs/qdbusmessage.h @@ -0,0 +1,40 @@ +#ifndef _QDBUSMESSAGE_H_ +#define _QDBUSMESSAGE_H_ + +#include +#include +#include + +class QDBusMessage +{ +public: + QDBusMessage(); + QDBusMessage(const QDBusMessage &); + + static QDBusMessage createMethodCall(const QString &service, + const QString &path, + const QString &interface, + const QString &method); + QString service(); + QString path(); + QString interface(); + QString member(); + QDBusMessage &operator<<(const QVariant arg); + QVector &arguments(); + +private: + QDBusMessage(const QString &service, + const QString &path, + const QString &interface, + const QString &method); + +private: + QString m_service; + QString m_path; + QString m_interface; + QString m_method; + QVector m_arguments; +}; + +#endif // _QDBUSMESSAGE_H_ +