|
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 // class0smsnotifier.h |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __CLASS0SMSNOTIFIER_H__ |
|
19 #define __CLASS0SMSNOTIFIER_H__ |
|
20 |
|
21 #include <twintnotifier.h> |
|
22 #include <msvapi.h> |
|
23 |
|
24 |
|
25 |
|
26 class CClass0SmsTxtNotifier : /* public CBase, */ public MNotifierBase2 |
|
27 { |
|
28 public: |
|
29 // Construction |
|
30 static CClass0SmsTxtNotifier* NewL(); |
|
31 ~CClass0SmsTxtNotifier(); |
|
32 |
|
33 private: |
|
34 CClass0SmsTxtNotifier(); |
|
35 void ConstructL(); |
|
36 |
|
37 // From MNotifierBase2 |
|
38 virtual void Release(); |
|
39 virtual TNotifierInfo RegisterL(); |
|
40 virtual TNotifierInfo Info() const; |
|
41 virtual TPtrC8 StartL(const TDesC8& aBuffer); |
|
42 virtual void StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage); |
|
43 virtual void Cancel(); |
|
44 virtual TPtrC8 UpdateL(const TDesC8& aBuffer); |
|
45 void CreateFile(const TDesC8& aBuff); |
|
46 |
|
47 private: |
|
48 TNotifierInfo iInfo; |
|
49 RMessagePtr2 iMessage; |
|
50 TInt iReplySlot; |
|
51 TSecurityInfo iSecurityInfo; |
|
52 |
|
53 }; |
|
54 |
|
55 #endif // __CLASS0SMSNOTIFIER_H__ |
|
56 |
|
57 |