equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef __FSEMAILLAUNCHERITEM_H__ |
19 #ifndef __FSEMAILLAUNCHERITEM_H__ |
20 #define __FSEMAILLAUNCHERITEM_H__ |
20 #define __FSEMAILLAUNCHERITEM_H__ |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <ecom.h> |
23 #include <ecom/ecom.h> |
24 #include <badesca.h> |
24 #include <badesca.h> |
25 #include <AknIconUtils.h> |
25 #include <AknIconUtils.h> |
26 |
26 |
27 /** |
27 /** |
28 * UID of this ECOM interface. |
28 * UID of this ECOM interface. |
61 * Destructor |
61 * Destructor |
62 */ |
62 */ |
63 virtual ~CFSEmailLauncherItem(); |
63 virtual ~CFSEmailLauncherItem(); |
64 |
64 |
65 /** |
65 /** |
66 * Request a list of all available implementations which satisfy this |
66 * Request a list of all available implementations which satisfy this |
67 * given interface. |
67 * given interface. |
68 * |
68 * |
69 * @param aImplInfoArray Info array of implementations. |
69 * @param aImplInfoArray Info array of implementations. |
70 */ |
70 */ |
71 static void ListAllImplementationsL( RImplInfoPtrArray& aImplInfoArray ); |
71 static void ListAllImplementationsL( RImplInfoPtrArray& aImplInfoArray ); |
72 |
72 |
73 public: |
73 public: |
74 |
74 |
75 /** |
75 /** |
76 * Set observer for refreshing launcher view. |
76 * Set observer for refreshing launcher view. |
77 * |
77 * |
78 * @param aObserver Observer for refreshing launcher view. |
78 * @param aObserver Observer for refreshing launcher view. |
79 */ |
79 */ |
80 virtual void SetObserver( MFSEmailLauncherItemObserver* aObserver ) = 0; |
80 virtual void SetObserver( MFSEmailLauncherItemObserver* aObserver ) = 0; |
81 |
81 |
82 /** |
82 /** |
83 * Returns the ID of the item. The IDs are allocated by the EMail UI |
83 * Returns the ID of the item. The IDs are allocated by the EMail UI |
84 * project. The IDs are used to match the plug-in API implementations with |
84 * project. The IDs are used to match the plug-in API implementations with |
152 // The type of TAny* ptr should be CFSEmailLauncherItem. |
152 // The type of TAny* ptr should be CFSEmailLauncherItem. |
153 return item; |
153 return item; |
154 } |
154 } |
155 |
155 |
156 inline void CFSEmailLauncherItem::ListAllImplementationsL( RImplInfoPtrArray& aImplInfoArray ) |
156 inline void CFSEmailLauncherItem::ListAllImplementationsL( RImplInfoPtrArray& aImplInfoArray ) |
157 { |
157 { |
158 REComSession::ListImplementationsL( KFSEmailLauncherItemUid, aImplInfoArray ); |
158 REComSession::ListImplementationsL( KFSEmailLauncherItemUid, aImplInfoArray ); |
159 } |
159 } |
160 |
160 |
161 #endif // __FSEMAILLAUNCHERITEM_H__ |
161 #endif // __FSEMAILLAUNCHERITEM_H__ |