57 Warning, // Low severity, just warning user needed |
61 Warning, // Low severity, just warning user needed |
58 Severe, // when error cannot be recovered |
62 Severe, // when error cannot be recovered |
59 Critical // when error can be recovered, but needs actions e.g. camera in use |
63 Critical // when error can be recovered, but needs actions e.g. camera in use |
60 }; |
64 }; |
61 |
65 |
62 void launchPopup(QString& errorMsgTxt); |
66 void launchPopup(const QString &errorText, const QString &buttonText); |
63 void showHighSeverityNote(QString& errorMsgTxt); |
67 void showHighSeverityNote(const QString &errorText, const QString &buttonText); |
64 void showLowSeverityNote(QString& errorMsgTxt); |
68 void showLowSeverityNote(const QString &errorText); |
65 QString getErrorDetails(CxeError::Id error); |
69 void getErrorDetails(QString &errorText, QString &buttonText); |
66 |
70 |
67 private: |
71 private: |
68 |
72 |
69 //data |
73 //data |
70 CxuiCaptureKeyHandler &mKeyHandler; |
74 CxuiCaptureKeyHandler &mKeyHandler; |
71 CxuiDocumentLoader *mDocumentLoader; // not own |
75 CxuiDocumentLoader *mDocumentLoader; // not own |
72 HbDialog* mErrorMsgPopup; |
76 HbDialog* mErrorMsgPopup; |
|
77 CxeError::Id mErrorId; |
73 CxuiErrorManager::ErrorSeverity mErrorSeverity; |
78 CxuiErrorManager::ErrorSeverity mErrorSeverity; |
74 }; |
79 }; |
75 |
80 |
76 #endif // CXUIVIEWMANAGER_H |
81 #endif // CXUIVIEWMANAGER_H |