summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/appiface.h
blob: 2601df94f373ce25eba3c31603c3edbdc6ef2c45 (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(QString url) = 0;
};

#endif // ${APP_NAME_UC}IFACE_H