All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WindowsDialogBoxBuilder.h
1 // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2 
3 #pragma once
4 #include "Types.h"
5 #include "WindowsDialogBox.h"
6 #include "WindowsDialogBoxParams.h"
7 #include "WindowsDialogBoxTemplate.h"
8 
9 namespace Eegeo
10 {
12  {
13  DialogBoxParams m_dialogBoxParams;
14  std::vector<DialogBoxFunction> m_dialogBoxFunctions;
15  public:
16 
17  WindowsDialogBox Build();
18  void InitBox(const DialogBoxParams &dbParams);
19  void AddFunction(const DialogBoxFunction &dbFunc);
20 
21  private:
22  void WriteBox(const DialogBoxParams &dbParams, DialogTemplate& writer);
23 
24  void WriteFunction(const DialogBoxFunction &dbFunc, DialogTemplate& writer);
25  };
26 }