equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007-2008 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: Miscallaneous service functions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef T_VCCMISCUTILS_H |
|
21 #define T_VCCMISCUTILS_H |
|
22 |
|
23 #include <e32des8.h> |
|
24 #include <e32des16.h> |
|
25 |
|
26 /** |
|
27 * T class for miscallenous service functions |
|
28 * |
|
29 * @lib vccutils.dll |
|
30 * @since S60 v3.2 |
|
31 */ |
|
32 class TVCCMiscUtils |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Check if reference is valid URI |
|
38 * |
|
39 * @since S60 v3.2 |
|
40 * @param aURI reference to a 16 bit value checked if valid URI |
|
41 * @return KErrNone if the descriptor has been parsed into uri components. |
|
42 * EUriUtilsParserErrInvalidUri if the descriptor is an invalid uri. |
|
43 */ |
|
44 IMPORT_C static TInt URIValidL( const TDesC16& aURI ); |
|
45 |
|
46 /** |
|
47 * Check if reference is valid VDN |
|
48 * |
|
49 * @since S60 v3.2 |
|
50 * @param aVDN reference to a 16 bit value checked if valid VDN |
|
51 * @return ETrue if the descriptor is a valid VDN. |
|
52 * EFalse if the descriptor is an invalid VDN. |
|
53 */ |
|
54 IMPORT_C static TBool VDNValidL( const TDesC16& aVDN ); |
|
55 |
|
56 }; |
|
57 |
|
58 #endif /* T_VCCMISCUTILS_H */ |
|