59 // From MGlxNavigationalStateObserver |
59 // From MGlxNavigationalStateObserver |
60 void HandleNavigationalStateChangedL(); |
60 void HandleNavigationalStateChangedL(); |
61 //OOM Method |
61 //OOM Method |
62 void HandleApplicationSpecificEventL(TInt aEventType, const TWsEvent& aWsEvent); |
62 void HandleApplicationSpecificEventL(TInt aEventType, const TWsEvent& aWsEvent); |
63 |
63 |
|
64 /** |
|
65 * Open the viewer on receving OpenFileL() callback in CViewerDocument |
|
66 */ |
|
67 void HandleOpenFileL(); |
|
68 |
64 private: // From CEikAppUi |
69 private: // From CEikAppUi |
65 |
70 |
66 TBool ProcessCommandParametersL(TApaCommand aCommand, |
71 TBool ProcessCommandParametersL(TApaCommand aCommand, |
67 TFileName& aDocumentName, const TDesC8& aTail); |
72 TFileName& aDocumentName, const TDesC8& aTail); |
68 |
73 |
69 private: // From CCoeAppUi |
74 private: // From CCoeAppUi |
70 |
75 |
71 void HandleForegroundEventL( TBool aForeground ); |
76 void HandleForegroundEventL( TBool aForeground ); |
72 |
77 |
73 private: |
78 private: |
74 enum TEntryType |
|
75 { |
|
76 EEntryTypeStartUp = 0, |
|
77 EEntryTypeFocusGained |
|
78 }; |
|
79 |
|
80 |
|
81 /** |
|
82 * Handle an activation message. |
|
83 * @param aCommand command data sent from the activating application. |
|
84 * @param aDocumentName image file name data sent from the activating application. |
|
85 * @param aData Message data from activating application. |
|
86 */ |
|
87 void HandleActivationMessageL(const TApaCommand& aCommand, const TFileName& aDocumentName, const TDesC8& aData); |
|
88 |
|
89 /** |
|
90 * Set activation parameter for startup view, converting to 16-bit |
|
91 * descriptor used by MPX. |
|
92 * @param aParam Activation parameter. |
|
93 */ |
|
94 void SetActivationParamL(const TDesC8& aParam); |
|
95 |
|
96 /** |
79 /** |
97 * Get view scoring ids based on current navigational state |
80 * Get view scoring ids based on current navigational state |
98 * (using Get in the name since the function does not return anything) |
81 * (using Get in the name since the function does not return anything) |
99 * @param aIns list that will be populated with scoring ids |
82 * @param aIns list that will be populated with scoring ids |
100 */ |
83 */ |
127 CGlxNavigationalState* iNavigationalState; |
109 CGlxNavigationalState* iNavigationalState; |
128 |
110 |
129 /** Optional view plugin UID to activate when the collection is opened */ |
111 /** Optional view plugin UID to activate when the collection is opened */ |
130 TUid iStartupViewUid; |
112 TUid iStartupViewUid; |
131 |
113 |
132 /** Optional activation parameter for the next view */ |
|
133 HBufC* iActivationParam; |
|
134 |
|
135 |
|
136 TBool iStartUpSequence; |
|
137 |
|
138 ///Ui utility |
114 ///Ui utility |
139 CGlxUiUtility* iUiUtility; |
115 CGlxUiUtility* iUiUtility; |
140 |
116 |
141 CGlxBackServiceWrapper* iBSWrapper; |
117 CGlxBackServiceWrapper* iBSWrapper; |
142 }; |
118 }; |