diff options
Diffstat (limited to 'dcopjava/tests/test.h')
-rw-r--r-- | dcopjava/tests/test.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dcopjava/tests/test.h b/dcopjava/tests/test.h new file mode 100644 index 00000000..5f215ce7 --- /dev/null +++ b/dcopjava/tests/test.h @@ -0,0 +1,46 @@ +#ifndef _TEST_H_ +#define _TEST_H_ + + +#include <qstring.h> +#include <qstringlist.h> + + +#include <dcopobject.h> +#include <dcopref.h> + + +class test : virtual public DCOPObject +{ + K_DCOP + +public: + +k_dcop: + + virtual void noArg() = 0; + virtual ASYNC asyncNoArg() = 0; + + virtual void oneArg(bool val) = 0; + virtual bool returnFalse() = 0; + virtual bool returnTrue() = 0; + + virtual short shortArg(short in) = 0; + virtual int intArg(int in) = 0; + virtual long longArg(long in) = 0; + + virtual float floatArg(float in) = 0; + virtual double doubleArg(double in) = 0; + + virtual QString stringArg(QString in) = 0; + virtual QStringList stringListArg(QStringList in) = 0; + + virtual QCString cstringArg(QCString in) = 0; + + virtual DCOPRef DCOPRefArg(DCOPRef in) = 0; + +}; + + + +#endif |