equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This is the header file for CT_MsgUtilsConfigFileMachineName |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @file |
|
26 */ |
|
27 |
|
28 |
|
29 #ifndef __T_UTILS_CONFIG_FILE_MACHINE_NAME_H__ |
|
30 #define __T_UTILS_CONFIG_FILE_MACHINE_NAME_H__ |
|
31 |
|
32 |
|
33 // epoc includes |
|
34 #include <e32base.h> |
|
35 |
|
36 |
|
37 /** |
|
38 CT_MsgUtilsConfigFileMachineName is an utility class, can be used |
|
39 to create automatic email acounts using the machine name. |
|
40 */ |
|
41 class CT_MsgUtilsConfigFileMachineName : public CBase |
|
42 { |
|
43 public: |
|
44 IMPORT_C static CT_MsgUtilsConfigFileMachineName* NewL(const TDesC& aPtrEmailAdd); |
|
45 IMPORT_C static CT_MsgUtilsConfigFileMachineName* NewLC(const TDesC& aPtrEmailAdd); |
|
46 ~CT_MsgUtilsConfigFileMachineName(); |
|
47 |
|
48 IMPORT_C const TDesC8& MachineName(); |
|
49 IMPORT_C const TDesC& MachineNameEmail(); |
|
50 |
|
51 private: |
|
52 IMPORT_C CT_MsgUtilsConfigFileMachineName(); |
|
53 IMPORT_C void ConstructL(const TDesC& aPtrEmailAdd); |
|
54 |
|
55 private: |
|
56 HBufC8* iMachineName; |
|
57 HBufC* iMachineNameEmail; |
|
58 }; |
|
59 #endif //__T_UTILS_CONFIG_FILE_MACHINE_NAME_H__ |