From 182c8f8357739f905bbd721006480502435b6b43 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 27 Nov 2022 12:04:31 -0800 Subject: Update brace style to match rest of my projects --- app/source/Cplt/Model/Workflow/Value.hpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'app/source/Cplt/Model/Workflow/Value.hpp') diff --git a/app/source/Cplt/Model/Workflow/Value.hpp b/app/source/Cplt/Model/Workflow/Value.hpp index 70fcb57..8e39358 100644 --- a/app/source/Cplt/Model/Workflow/Value.hpp +++ b/app/source/Cplt/Model/Workflow/Value.hpp @@ -8,11 +8,9 @@ #include #include -class BaseValue -{ +class BaseValue { public: - enum Kind - { + enum Kind { KD_Numeric, KD_Text, KD_DateTime, @@ -30,8 +28,7 @@ public: KindCount = InvalidKind, }; - struct KindInfo - { + struct KindInfo { ImGui::IconType PinIcon; RgbaColor PinColor; }; @@ -64,11 +61,9 @@ public: virtual void WriteTo(std::ostream& stream); }; -class BaseObjectDescription -{ +class BaseObjectDescription { public: - struct Property - { + struct Property { std::string Name; BaseValue::Kind Kind; bool Mutatable = true; @@ -78,8 +73,7 @@ public: std::vector Properties; }; -class BaseObjectValue : public BaseValue -{ +class BaseObjectValue : public BaseValue { public: /// \param kind A value kind enum, within the range of KD_BaseObject and KD_BaseObjectLast (both inclusive). static const BaseObjectDescription& QueryObjectInfo(Kind kind); -- cgit v1.2.3-70-g09d2