equal
deleted
inserted
replaced
19 |
19 |
20 #include <QObject> |
20 #include <QObject> |
21 #include <cadefs.h> |
21 #include <cadefs.h> |
22 #include <caclient_global.h> |
22 #include <caclient_global.h> |
23 |
23 |
24 class CaEntry; |
24 class CCaInnerEntry; |
25 class QString; |
25 class QString; |
26 |
26 |
27 class CaHandler: public QObject |
27 class CaHandler |
28 { |
28 { |
29 Q_OBJECT |
|
30 |
|
31 public: |
29 public: |
32 virtual int execute(const CaEntry &entry, |
30 virtual ~CaHandler() {} |
|
31 virtual int execute(CCaInnerEntry &innerEntry, |
33 const QString &commandName) = 0; |
32 const QString &commandName) = 0; |
34 }; |
33 }; |
35 |
34 |
|
35 Q_DECLARE_INTERFACE(CaHandler, "com.nokia.homescreen.ICommandHandler") |
|
36 |
36 #endif |
37 #endif |