equal
deleted
inserted
replaced
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
33 Stores SMS service and Schedule Send settings to Central Repository. |
33 Stores SMS service and Schedule Send settings to Central Repository. |
34 |
34 |
35 @publishedAll |
35 @publishedAll |
36 @released |
36 @released |
37 */ |
37 */ |
38 class CSmsAccount : public CBase, public MMsvSessionObserver |
38 NONSHARABLE_CLASS (CSmsAccount) : public CBase, public MMsvSessionObserver |
39 { |
39 { |
40 public: |
40 public: |
41 |
41 |
42 IMPORT_C static CSmsAccount* NewL(); |
42 IMPORT_C static CSmsAccount* NewL(); |
43 IMPORT_C static CSmsAccount* NewLC(); |
43 IMPORT_C static CSmsAccount* NewLC(); |
56 void HandleSessionEventL(TMsvSessionEvent , TAny* , TAny* , TAny* ); |
56 void HandleSessionEventL(TMsvSessionEvent , TAny* , TAny* , TAny* ); |
57 CMsvSession& SessionL(); |
57 CMsvSession& SessionL(); |
58 |
58 |
59 TMsvId CreateSmsServiceL(); |
59 TMsvId CreateSmsServiceL(); |
60 void ResetSettings(); |
60 void ResetSettings(); |
61 |
61 #if (defined SYMBIAN_MESSAGESTORE_HEADER_BODY_USING_SQLDB) |
|
62 void CreateHeaderStoreL(); |
|
63 #endif |
62 private: |
64 private: |
63 enum TSmsSettingsCenRepId |
65 enum TSmsSettingsCenRepId |
64 { |
66 { |
65 // Service Settings |
67 // Service Settings |
66 ESmsServiceId = 0x00000000, |
68 ESmsServiceId = 0x00000000, |