summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/appiface.h
blob: 9b1ab6eced919e1c8556632530bb9eb0632a4627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
echo "Creating $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}iface.h...";
cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}iface.h
#ifndef ${APP_NAME_UC}IFACE_H
#define ${APP_NAME_UC}IFACE_H

#include <dcopobject.h>

class ${APP_NAME}Iface : virtual public DCOPObject
{
  K_DCOP
public:

k_dcop:
  virtual void openURL(TQString url) = 0;
};

#endif // ${APP_NAME_UC}IFACE_H