equal
deleted
inserted
replaced
19 #ifndef CESMRPOLICY_H |
19 #ifndef CESMRPOLICY_H |
20 #define CESMRPOLICY_H |
20 #define CESMRPOLICY_H |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <babitflags.h> |
23 #include <babitflags.h> |
24 //<cmail> |
|
25 #include "esmrdef.h" |
24 #include "esmrdef.h" |
26 |
25 |
27 class RResourceFile; |
26 class RResourceFile; |
28 class TResourceReader; |
27 class TResourceReader; |
29 class TESMREntryField; |
28 class TESMREntryField; |
132 /** |
131 /** |
133 * Fetches policy id. |
132 * Fetches policy id. |
134 * @return policy id. |
133 * @return policy id. |
135 * @see TESMRPolicyID |
134 * @see TESMRPolicyID |
136 */ |
135 */ |
137 inline TESMRPolicyID PolicyId() const; |
136 IMPORT_C TESMRPolicyID PolicyId() const; |
138 |
137 |
139 /** |
138 /** |
140 * Fetches policy view mode. |
139 * Fetches policy view mode. |
141 * @return policy view mode. |
140 * @return policy view mode. |
142 * @see TESMRViewMode |
141 * @see TESMRViewMode |
143 */ |
142 */ |
144 inline TESMRViewMode ViewMode() const; |
143 IMPORT_C TESMRViewMode ViewMode() const; |
145 |
144 |
146 /** |
145 /** |
147 * Fetches default fields. |
146 * Fetches default fields. |
148 * @return Default fields |
147 * @return Default fields |
149 */ |
148 */ |
150 inline const RArray<TESMREntryField>& Fields() const; |
149 IMPORT_C const RArray<TESMREntryField>& Fields() const; |
151 |
150 |
152 /** |
151 /** |
153 * Fetches the allowed applicatio for this policy |
152 * Fetches the allowed applicatio for this policy |
154 * @return TESMRUsingApp Parent application |
153 * @return TESMRUsingApp Parent application |
155 */ |
154 */ |
156 inline TESMRUsingApp AllowedApp() const; |
155 IMPORT_C TESMRUsingApp AllowedApp() const; |
157 |
156 |
158 private: // Implementation |
157 private: // Implementation |
159 CESMRPolicy(); |
158 CESMRPolicy(); |
160 void ConstructL( |
159 void ConstructL( |
161 RResourceFile& aRFile, |
160 RResourceFile& aRFile, |
178 RArray<TESMRCommand> iDefaultCommands; |
177 RArray<TESMRCommand> iDefaultCommands; |
179 /// Own: Additional commands |
178 /// Own: Additional commands |
180 RArray<TESMRCommand> iAdditionalCommands; |
179 RArray<TESMRCommand> iAdditionalCommands; |
181 }; |
180 }; |
182 |
181 |
183 #include "cesmrpolicy.inl" |
|
184 //</cmail> |
|
185 |
|
186 #endif // CESMRPOLICY_H |
182 #endif // CESMRPOLICY_H |
187 |
183 |
188 // EOF |
184 // EOF |