|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __CLASS0SMSUINOTIFIER_H__ |
|
17 #define __CLASS0SMSUINOTIFIER_H__ |
|
18 |
|
19 #include <eiknotapi.h> |
|
20 #include <msvapi.h> |
|
21 #include <ecom/ecom.h> |
|
22 class CMsvEntrySelection; |
|
23 |
|
24 const TUint KCountServMajorVersionNumber=0; |
|
25 const TUint KCountServMinorVersionNumber=1; |
|
26 const TUint KCountServBuildVersionNumber=1; |
|
27 |
|
28 //_LIT(KDummyServerName, "DummyServer"); |
|
29 //_LIT(KDummyServerExe, "Dummyserver.exe"); |
|
30 |
|
31 |
|
32 |
|
33 class CClass0SmsUINotifier : /*public CBase, */ public MEikSrvNotifierBase2 |
|
34 { |
|
35 public: |
|
36 // Construction |
|
37 static CClass0SmsUINotifier* NewL(); |
|
38 ~CClass0SmsUINotifier(); |
|
39 private: |
|
40 CClass0SmsUINotifier(); |
|
41 void ConstructL(); |
|
42 |
|
43 // From MEikSrvNotifierBase2 |
|
44 virtual void Release(); |
|
45 virtual TNotifierInfo RegisterL(); |
|
46 virtual TNotifierInfo Info() const; |
|
47 virtual TPtrC8 StartL(const TDesC8& aBuffer); |
|
48 virtual void StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage); |
|
49 virtual void Cancel(); |
|
50 virtual TPtrC8 UpdateL(const TDesC8& aBuffer); |
|
51 void CreateFile(const TDesC8& aBuffer); |
|
52 |
|
53 private: |
|
54 TNotifierInfo iInfo; |
|
55 RMessagePtr2 iMessage; |
|
56 TInt iReplySlot; |
|
57 TSecurityInfo iSecurityInfo; |
|
58 }; |
|
59 |
|
60 #endif // __CLASS0SMSUINOTIFIER_H__ |
|
61 |
|
62 |
|
63 |
|
64 |