All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NativeUIFactories.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "EegeoUI.h"
6 #include "AlertBox.h"
7 #include "InputBox.h"
8 #include "KeyboardInput.h"
9 
10 namespace Eegeo
11 {
12  namespace UI
13  {
15  {
16  public:
18  NativeInput::IInputBoxFactory& inputBoxFactory,
19  NativeInput::IKeyboardInputFactory& keyboardInputFactory)
20  : m_alertBoxFactory(alertBoxFactory)
21  , m_inputBoxFactory(inputBoxFactory)
22  , m_keyboardInputFactory(keyboardInputFactory)
23  {
24 
25  }
26 
27  NativeAlerts::IAlertBoxFactory& AlertBoxFactory() { return m_alertBoxFactory; };
28  NativeInput::IInputBoxFactory& IInputBoxFactory() { return m_inputBoxFactory; };
29  NativeInput::IKeyboardInputFactory& IKeyboardInputFactory() { return m_keyboardInputFactory; };
30 
31  private:
32  NativeAlerts::IAlertBoxFactory& m_alertBoxFactory;
33  NativeInput::IInputBoxFactory& m_inputBoxFactory;
34  NativeInput::IKeyboardInputFactory& m_keyboardInputFactory;
35  };
36  }
37 }