From bcdcaed1369470933209a7134f2bdb96f8d31c68 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Wed, 17 Aug 2022 20:14:01 +0200 Subject: [PATCH] Format example --- BUILDING.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 10b5a9f5..1892c00c 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -70,14 +70,14 @@ The key functions to add conditions or are the Register() functions. ``` MacroActionFactory::Register( - MacroActionExample::id, // Unique string identifying this action type - { + MacroActionExample::id, // Unique string identifying this action type + { MacroActionExample::Create, // Function called to create the object performing the action MacroActionExampleEdit::Create, // Function called to create the widget configure the action - "AdvSceneSwitcher.action.example" // User facing name of the action type + "AdvSceneSwitcher.action.example" // User facing name of the action type } - ); +); ``` If your intention is to add macro functionality which depends on external libraries, which is likely not to exist on all user setups, try to follow the examples under `src\macro-external`. -These are basically plugins themselves that get attempted to be loaded on startup of the advanced scene switcher. \ No newline at end of file +These are basically plugins themselves that get attempted to be loaded on startup of the advanced scene switcher.