equal
deleted
inserted
replaced
57 |
57 |
58 public: // New functions |
58 public: // New functions |
59 |
59 |
60 void Reset(); |
60 void Reset(); |
61 |
61 |
|
62 RAiPolicyElementArray& PolicyArray(); |
|
63 |
62 /** |
64 /** |
63 * Sets current content priority value. |
65 * Sets current content priority value. |
64 * |
66 * |
65 * @param aPriority priority of current content |
67 * @param aPriority priority of current content |
66 * @post iContentPriority == aPriority |
68 * @post iContentPriority == aPriority |
102 /** |
104 /** |
103 * Applies publishing policy to target UI element. |
105 * Applies publishing policy to target UI element. |
104 * The policy is applied by modifying CSS property defined |
106 * The policy is applied by modifying CSS property defined |
105 * by non-empty content. |
107 * by non-empty content. |
106 */ |
108 */ |
107 void ApplyPublishingPolicy( RAiPolicyElementArray& aPolicyArray, |
109 void ApplyPublishingPolicy( TBool& aLayoutChanged, |
108 RPropertyHashMap& aPropertyHashMap ); |
110 RPropertyHashMap& aPropertyHashMap ); |
109 |
111 |
110 void DoApplyPublishingPolicyL( RAiPolicyElementArray& aPolicyArray, |
112 void DoApplyPublishingPolicyL( TBool& aLayoutChanged, |
111 RPropertyHashMap& aPropertyHashMap ); |
113 RPropertyHashMap& aPropertyHashMap ); |
112 |
114 |
113 /** |
115 /** |
114 * Updates current content priority into content priority map. |
116 * Updates current content priority into content priority map. |
115 */ |
117 */ |
121 void ClearContentPriorityL(); |
123 void ClearContentPriorityL(); |
122 |
124 |
123 MXnComponentInterface& ComponentInterfaceL() const; |
125 MXnComponentInterface& ComponentInterfaceL() const; |
124 |
126 |
125 private: |
127 private: |
|
128 |
|
129 /** |
|
130 * Array of policy elements |
|
131 */ |
|
132 RAiPolicyElementArray iPolicyArray; |
126 |
133 |
127 /** |
134 /** |
128 * Content priority map |
135 * Content priority map |
129 */ |
136 */ |
130 AiUtility::CContentPriorityMap& iContentPriorityMap; |
137 AiUtility::CContentPriorityMap& iContentPriorityMap; |