7 #include "../../uidescription/uidescriptionfwd.h" 8 #include "../../lib/optional.h" 9 #include "../include/ishareduiresources.h" 13 namespace Standalone {
17 const ISharedUIResources& getSharedUIResources ();
20 SharedPointer<UIDescription> getSharedUIDescription ();
23 void cleanupSharedUIResources ();
28 #if VSTGUI_LIVE_EDITING 29 void saveSharedUIDescription ();
34 virtual void set (
const std::string& filename,
const std::string& absolutePath) = 0;
35 virtual Optional<const char*>
get (
const std::string& filename)
const = 0;
39 IEditFileMap& getEditFileMap ();
42 enum class UIDescCheckFilePathResult
50 UIDescCheckFilePathResult checkAndUpdateUIDescFilePath (
51 UIDescription& uiDesc, CFrame* _frame,
52 UTF8StringPtr notFoundText =
"The uidesc file location cannot be found.");
55 bool initUIDescAsNew (UIDescription& uiDesc, CFrame* _frame);
57 #endif // VSTGUI_LIVE_EDITING Definition: customcontrols.cpp:8