equal
deleted
inserted
replaced
19 #define CAAPPHANDLER_H |
19 #define CAAPPHANDLER_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
22 |
22 |
23 #include "cahandler.h" |
23 #include "cahandler.h" |
|
24 #include "cauninstallerobserver.h" |
24 |
25 |
25 class CEikonEnv; |
26 class CEikonEnv; |
26 class CCaUsifUninstallOperation; |
27 class CCaUsifUninstallOperation; |
27 class CaEntry; |
28 class CaEntry; |
28 |
29 |
29 class CaAppHandler: public QObject, public CaHandler |
30 class CaAppHandler: public QObject, public CaHandler, public CaUninstallerObserver |
30 { |
31 { |
31 Q_OBJECT |
32 Q_OBJECT |
32 Q_INTERFACES(CaHandler) |
33 Q_INTERFACES(CaHandler) |
33 |
34 |
34 public: |
35 public: |
37 |
38 |
38 virtual ~CaAppHandler(); |
39 virtual ~CaAppHandler(); |
39 |
40 |
40 public: |
41 public: |
41 |
42 |
42 int execute(const CaEntry &entry, const QString &command); |
43 int execute(const CaEntry &entry, const QString &command, |
|
44 QObject* receiver = NULL, const char* member = NULL); |
|
45 |
|
46 void uninstallError(int error); // from CaUninstallerObserver |
|
47 |
|
48 signals: |
|
49 |
|
50 void uninstallFailed(int errorCode); |
43 |
51 |
44 private: |
52 private: |
45 |
53 |
46 void launchApplicationL(const TUid uid, TInt viewId); |
54 void launchApplicationL(const TUid uid, TInt viewId); |
47 |
55 |