|
1 /* |
|
2 * Copyright (c) 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 "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: Inlined function of CCAGroupPropertiesPC.h |
|
15 * |
|
16 */ |
|
17 |
|
18 // ----------------------------------------------------------------------------- |
|
19 // CCAGroupPropertiesPC: GetTopic |
|
20 // ----------------------------------------------------------------------------- |
|
21 // |
|
22 inline TPtrC GetTopic( ) const |
|
23 { |
|
24 return iGroupPropsForGrpPropDialog->Topic(); |
|
25 } |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CCAGroupPropertiesPC: GetWelcomeNote |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 inline TPtrC GetWelcomeNote( ) const |
|
32 { |
|
33 return iGroupPropsForGrpPropDialog->Welcome(); |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CCAGroupPropertiesPC: GetMaxNbrOfUsers |
|
38 // ----------------------------------------------------------------------------- |
|
39 // |
|
40 inline TInt GetMaxNbrOfUsers( ) const |
|
41 { |
|
42 return iGroupPropsForGrpPropDialog->MaxNbrOfUsers(); |
|
43 } |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CCAGroupPropertiesPC: SetGroupNameL |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 inline void SetGroupNameL(const TDesC& aName ) |
|
49 { |
|
50 iGroupPropsForGrpPropDialog->SetGroupNameL( aName ); |
|
51 } |
|
52 // ----------------------------------------------------------------------------- |
|
53 // CCAGroupPropertiesPC: SetMaxNbrOfUsers |
|
54 // ----------------------------------------------------------------------------- |
|
55 // |
|
56 inline void SetMaxNbrOfUsers(TInt aSize ) |
|
57 { |
|
58 iGroupPropsForGrpPropDialog->SetMaxNbrOfUsers( aSize ); |
|
59 } |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // CCAGroupPropertiesPC: SetTopicL |
|
63 // ----------------------------------------------------------------------------- |
|
64 // |
|
65 inline void SetTopicL(const TDesC& aTopic ) |
|
66 { |
|
67 iGroupPropsForGrpPropDialog->SetTopicL( aTopic ); |
|
68 } |
|
69 |
|
70 // ----------------------------------------------------------------------------- |
|
71 // CCAGroupPropertiesPC: SetWelcomeL |
|
72 // ----------------------------------------------------------------------------- |
|
73 // |
|
74 inline void SetWelcomeL(const TDesC& aWelcomeNote ) |
|
75 { |
|
76 iGroupPropsForGrpPropDialog->SetWelcomeL( aWelcomeNote ); |
|
77 } |
|
78 |
|
79 // ----------------------------------------------------------------------------- |
|
80 // CCAGroupPropertiesPC: SetPrivateAllowed |
|
81 // ----------------------------------------------------------------------------- |
|
82 // |
|
83 inline void SetPrivateAllowed(TEnumsPC::TImpsPropertyBoolPC aValue ) |
|
84 { |
|
85 iGroupPropsForGrpPropDialog->SetPrivateAllowed( static_cast<TImpsPropertyBool>(aValue )); |
|
86 } |
|
87 // ----------------------------------------------------------------------------- |
|
88 // CCAGroupPropertiesPC: SetSearchable |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 inline void SetSearchable( TEnumsPC::TImpsPropertyBoolPC aType ) |
|
92 { |
|
93 iGroupPropsForGrpPropDialog->SetSearchable( static_cast<TImpsPropertyBool>(aType) ); |
|
94 } |