|
1 /* |
|
2 * Copyright (c) 2004 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: Message container information provider |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __MCAMESSAGECONTAINERINFO_H__ |
|
20 #define __MCAMESSAGECONTAINERINFO_H__ |
|
21 |
|
22 // FORWARD CLASS DECLERATIONS |
|
23 |
|
24 // CLASS DECLARATION |
|
25 |
|
26 /** |
|
27 * Message container information provider |
|
28 * |
|
29 * @lib CAEngine.dll |
|
30 * @since 3.0 |
|
31 */ |
|
32 class MCAMessageContainerInfo |
|
33 { |
|
34 |
|
35 public: // Interface |
|
36 |
|
37 /** |
|
38 * Part of Id of container |
|
39 * @return Server address of container. |
|
40 */ |
|
41 virtual const TDesC& ServerAddress() const = 0; |
|
42 |
|
43 /** |
|
44 * Part of Id of container |
|
45 * @return User id of container. |
|
46 */ |
|
47 virtual const TDesC& UserId() const = 0; |
|
48 |
|
49 /** |
|
50 * Part of Id of container |
|
51 * @return Target id of container. |
|
52 */ |
|
53 virtual const TDesC& Target() const = 0; |
|
54 |
|
55 /** |
|
56 * Part of identification of container |
|
57 * @return Screen name of container owner. |
|
58 */ |
|
59 virtual const TDesC& ScreenName() const = 0; |
|
60 |
|
61 /** |
|
62 * Sets if add to contacts is asked. |
|
63 * @param aIsAsked. |
|
64 */ |
|
65 virtual void SetAddToContactAsked( TBool aIsAsked ) = 0; |
|
66 |
|
67 /** |
|
68 * Is add to contacts asked. |
|
69 * @return ETrue if asked already otherwise EFalse. |
|
70 */ |
|
71 virtual TBool IsAddToContactAsked() const = 0; |
|
72 |
|
73 protected: // For protection. |
|
74 |
|
75 /** |
|
76 * Destructor |
|
77 */ |
|
78 virtual ~MCAMessageContainerInfo() {} |
|
79 }; |
|
80 |
|
81 #endif // __MCAMESSAGECONTAINERINFO_H__ |
|
82 |
|
83 // End of File |