diff -r 9ba4404ef423 -r 759dc5235cdb emailuis/nmailui/inc/nmapplication.h --- a/emailuis/nmailui/inc/nmapplication.h Thu May 27 12:43:55 2010 +0300 +++ b/emailuis/nmailui/inc/nmapplication.h Fri Jun 11 13:27:14 2010 +0300 @@ -30,6 +30,7 @@ class HbAction; class NmUiExtensionManager; class NmSendServiceInterface; +class NmUriServiceInterface; class NmMailboxServiceInterface; class NmViewerServiceInterface; class NmViewerViewNetManager; @@ -37,6 +38,7 @@ class NmAttachmentManager; class NmSettingsViewLauncher; class NmUiEffects; +class HbMessageBox; class NmApplication : public QObject { @@ -50,7 +52,7 @@ NmViewerViewNetManager &networkAccessManager(); QSize screenSize(); bool eventFilter(QObject *obj, QEvent *event); - + bool updateVisibilityState(); public slots: void prepareForPopView(); @@ -59,12 +61,12 @@ void delayedExitApplication(); void handleOperationCompleted(const NmOperationCompletionEvent &event); void viewReady(); + void launchSettings(HbAction* action); private: void createMainWindow(); void pushView(NmBaseView *view); void resetViewStack(); - void launchSettings(const NmId &mailboxId); private: HbMainWindow *mMainWindow; // Not owned @@ -75,16 +77,19 @@ NmUiExtensionManager *mExtensionManager;// Owned NmSendServiceInterface *mSendServiceInterface; // Owned NmSendServiceInterface *mSendServiceInterface2; // Owned + NmUriServiceInterface *mUriServiceInterface; // Owned NmMailboxServiceInterface *mMailboxServiceInterface; // Owned NmViewerServiceInterface *mViewerServiceInterface; // Owned NmMailboxListModel *mMbListModel; // Not owned NmUiViewId mServiceViewId; NmViewerViewNetManager *mNetManager; // Owned - bool mForegroundService; + bool mForegroundService; NmUiEffects *mEffects; // Owned NmAttachmentManager *mAttaManager; // Owned NmSettingsViewLauncher* mSettingsViewLauncher; // Owned bool mViewReady; + NmId mLastOperationMailbox; + HbMessageBox *mQueryDialog; // Owned }; #endif // NMAPPLICATION_H