summaryrefslogtreecommitdiffstats
path: root/dcopjava/tests/test.h
blob: 5f215ce75c2d10de886af78afda8ca6816738946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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