You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
%{H_TEMPLATE}
|
|
|
|
|
|
|
|
#ifndef MAINCLASS_H
|
|
|
|
#define MAINCLASS_H
|
|
|
|
|
|
|
|
#include "%{APPNAMELC}_iface.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author %{AUTHOR}
|
|
|
|
**/
|
|
|
|
class MainClass : virtual public DCOPDemoIface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MainClass();
|
|
|
|
|
|
|
|
~MainClass();
|
|
|
|
|
|
|
|
|
|
|
|
// Here is the implementation of the example DCOP interface methods.
|
|
|
|
virtual void setStrVal(const TQString &);
|
|
|
|
virtual void setIntVal(int);
|
|
|
|
virtual TQString strVal() const;
|
|
|
|
virtual int intVal() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQString m_strValue;
|
|
|
|
int m_intValue;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|