24 #ifndef __CONFIGMGR_H__
25 #define __CONFIGMGR_H__
27 #include "wx/wxprec.h"
32 #include "pugixml.hpp"
33 #include "CanvasConfig.h"
48 static void Shutdown();
50 wxString CreateNamedConfig(
const wxString &title,
const wxString &description,
52 bool DeleteConfig(wxString GUID);
53 wxArrayString GetConfigGUIDArray();
55 wxPanel *GetConfigPanel(wxWindow *parent, wxString GUID);
56 wxString GetTemplateTitle(wxString GUID);
57 bool ApplyConfigGUID(wxString GUID);
58 bool CheckTemplateGUID(wxString GUID);
59 arrayofCanvasConfigPtr &GetCanvasConfigArray(){
return g_canvasConfigArray;}
71 wxString GetUUID(
void);
72 bool SaveTemplate(wxString fileName);
73 wxString GetConfigDir() {
return m_configDir; }
74 ConfigObjectList *GetConfigList() {
return configList; }
76 bool CheckTemplate(wxString fileName);
79 wxString m_configCatalogName;
81 ConfigObjectList *configList;
82 arrayofCanvasConfigPtr g_canvasConfigArray;
89 wxWindowID
id = wxID_ANY,
const wxPoint &pos = wxDefaultPosition,
90 const wxSize &size = wxDefaultSize);
93 wxString GetConfigGUID();
96 void OnConfigPanelMouseSelected(wxMouseEvent &event);
Manages the user config matrix.