equal
deleted
inserted
replaced
23 |
23 |
24 // User includes |
24 // User includes |
25 #include <aifwdefs.h> |
25 #include <aifwdefs.h> |
26 |
26 |
27 // Forward declarations |
27 // Forward declarations |
28 class THsPublisherInfo; |
28 class TAiFwPublisherInfo; |
29 |
29 |
30 /** |
30 /** |
31 * Active Idle Framework internal state handling interface. |
31 * Active Idle Framework internal state handling interface. |
32 * Events from UI controllers are forwarded to this interface for processing |
32 * Events from UI controllers are forwarded to this interface for processing |
33 * on the Active Idle Framework side. |
33 * on the Active Idle Framework side. |
41 |
41 |
42 /** |
42 /** |
43 * Instructs to load plugin |
43 * Instructs to load plugin |
44 * |
44 * |
45 * @since S60 5.2 |
45 * @since S60 5.2 |
46 * @param aPublisherInfo plugin to load |
46 * @param aPublisherInfo plugin to load |
47 * @param aReason startup reason |
|
48 * @return Error code, KErrNone if loaded succesfully. |
|
49 */ |
47 */ |
50 virtual TInt LoadPlugin( const THsPublisherInfo& aPublisherInfo, |
48 virtual void LoadPlugin( const TAiFwPublisherInfo& aPublisher ) = 0; |
51 TAiFwLoadReason aReason ) = 0; |
|
52 |
49 |
53 /** |
50 /** |
54 * Instructs to destroy plugin |
51 * Instructs to destroy plugin |
55 * |
52 * |
56 * @since S60 5.2 |
53 * @since S60 5.2 |
57 * @param aPublisherInfo plugin to destroy |
54 * @param aPublisherInfo plugin to destroy |
58 * @param aReason shutdown reason |
|
59 */ |
55 */ |
60 virtual void DestroyPlugin( const THsPublisherInfo& aPublisherInfo, |
56 virtual void DestroyPlugin( const TAiFwPublisherInfo& aPublisher ) = 0; |
61 TAiFwDestroyReason aReason ) = 0; |
|
62 |
57 |
63 /** |
58 /** |
64 * Instructs to change all plugins' state |
59 * Instructs to change all plugins' state |
65 * |
60 * |
66 * @since S60 5.2 |
61 * @since S60 5.2 |
67 * @param aState State to change |
62 * @param aState State to change |
68 */ |
63 */ |
69 virtual void ChangePluginState( TAiFwState aState ) = 0; |
64 virtual void ChangePluginState( TAiFwState aState ) = 0; |
70 |
|
71 }; |
65 }; |
72 |
66 |
73 #endif // M_AIFWSTATEHANDLER_H |
67 #endif // M_AIFWSTATEHANDLER_H |
74 |
68 |
75 // End of file |
69 // End of file |