#include "editor.h" namespace editor { static bool editing = true; static int current_template = 0; void setEditing(const bool value) { editing = value; } const bool isEditing() { return editing; } const int getCurrentTemplate() { return current_template; } void setCurrentTemplate(const int value) { current_template = value; } }