equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2007 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 "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Phonebook 2 phone number formatter factory. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PBK2PHONENUMBERFORMATTERFACTORY_H |
|
20 #define PBK2PHONENUMBERFORMATTERFACTORY_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32def.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class MPbk2PhoneNumberFormatter; |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Phonebook 2 phone number formatter factory. |
|
32 * |
|
33 * Responsible for creating appropriate phone number formatter. |
|
34 */ |
|
35 NONSHARABLE_CLASS(Pbk2PhoneNumberFormatterFactory) |
|
36 { |
|
37 public: // Interface |
|
38 |
|
39 /** |
|
40 * Creates and returns phone number formatter implementation. |
|
41 * |
|
42 * @param aMaxDisplayLength Maximum length of a phone number on |
|
43 * the display. The returned phone |
|
44 * number formatter may not support |
|
45 * longer phone numbers. |
|
46 * @return Phone number formatter. |
|
47 */ |
|
48 IMPORT_C static MPbk2PhoneNumberFormatter* CreatePhoneNumberFormatterL( |
|
49 TInt aMaxDisplayLength ); |
|
50 }; |
|
51 |
|
52 #endif // PBK2PHONENUMBERFORMATTERFACTORY_H |
|
53 |
|
54 // End of File |