|
1 /* |
|
2 * Copyright (c) 2005 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: CXdmNamespace |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __XDMNAMESPACE__ |
|
22 #define __XDMNAMESPACE__ |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 NONSHARABLE_CLASS ( CXdmNamespace ) : public CBase |
|
27 { |
|
28 public: |
|
29 |
|
30 /** |
|
31 * Returns the MIME type of the messages |
|
32 * @return TPtrC8 The MIME type of the messages |
|
33 */ |
|
34 IMPORT_C static CXdmNamespace* NewL( const TDesC8& aUri, const TDesC8& aPrefix ); |
|
35 |
|
36 /** |
|
37 * Returns the MIME type of the messages |
|
38 * @return TPtrC8 The MIME type of the messages |
|
39 */ |
|
40 IMPORT_C TPtrC8 Uri() const; |
|
41 |
|
42 /** |
|
43 * Returns the MIME type of the messages |
|
44 * @return TPtrC8 The MIME type of the messages |
|
45 */ |
|
46 IMPORT_C TPtrC8 Prefix() const; |
|
47 |
|
48 /** |
|
49 * Returns the MIME type of the messages |
|
50 * @return TPtrC8 The MIME type of the messages |
|
51 */ |
|
52 IMPORT_C virtual ~CXdmNamespace(); |
|
53 |
|
54 private: |
|
55 |
|
56 /** |
|
57 * Returns the MIME type of the messages |
|
58 * @return TPtrC8 The MIME type of the messages |
|
59 */ |
|
60 CXdmNamespace(); |
|
61 |
|
62 /** |
|
63 * Returns the MIME type of the messages |
|
64 * @return TPtrC8 The MIME type of the messages |
|
65 */ |
|
66 void ConstructL( const TDesC8& aUri, const TDesC8& aPrefix ); |
|
67 |
|
68 private: |
|
69 |
|
70 HBufC8* iUri; |
|
71 HBufC8* iPrefix; |
|
72 }; |
|
73 |
|
74 #endif |