All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CoverageTreeDownloadFailedHandler.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "AlertBox.h"
7 #include "Web.h"
8 #include "ISingleOptionAlertBoxDismissedHandler.h"
9 
10 namespace Eegeo
11 {
12  class IEegeoErrorHandler;
13 
14  namespace Streaming
15  {
16  namespace CoverageTrees
17  {
19  {
20  public:
22  Web::IConnectivityService& connectivityService,
23  IEegeoErrorHandler* pErrorHandler);
24 
25  bool ShowingError();
26 
27  void ShowErrorMessage();
28 
29  private:
30  Web::IConnectivityService& m_connectivityService;
31  IEegeoErrorHandler* m_pErrorHandler;
32 
33  bool m_showingError;
34 
35  UI::NativeAlerts::IAlertBoxFactory& m_alertBoxFactory;
36 
38 
39  void HandleErrorMessageBoxClosed();
40  };
41  }
42  }
43 }