equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: Service Handler for dialer launch of DM |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef DMTELSERVICEHANDLER_H |
18 #ifndef DMTELSERVICEHANDLER_H |
19 #define DMTELSERVICEHANDLER_H |
19 #define DMTELSERVICEHANDLER_H |
22 #include <xqservicerequest.h> |
22 #include <xqservicerequest.h> |
23 #include <xqserviceutil.h> |
23 #include <xqserviceutil.h> |
24 |
24 |
25 _LIT( KDMUIProcess, "\\deviceupdates.exe" ); |
25 _LIT( KDMUIProcess, "\\deviceupdates.exe" ); |
26 |
26 |
|
27 enum { |
|
28 EDMLaunchedFromDialer=0, |
|
29 EDMLaunchedFromCP |
|
30 }; |
|
31 |
|
32 const TUid KControlPanelAppUid ={0x20025fd9}; |
|
33 const TUid KPSUidNSmlDMSyncApp = {0x101f6de5}; |
|
34 const TUint32 KDMLaunched = {0x0000000E}; |
|
35 |
27 class DmTelServiceHandler : public XQServiceProvider |
36 class DmTelServiceHandler : public XQServiceProvider |
28 { |
37 { |
29 Q_OBJECT |
38 Q_OBJECT |
30 public: |
39 public: |
31 DmTelServiceHandler(QObject *parent = 0); |
40 DmTelServiceHandler(QObject *parent = NULL); |
32 ~DmTelServiceHandler(); |
41 ~DmTelServiceHandler(); |
33 |
42 |
34 public slots: |
43 public slots: |
35 void showVersionNumber(); |
44 void showVersionNumber(); |
36 |
45 |