1 %{Cpp:LicenseTemplate}\ 2 @if '%{Cpp:PragmaOnce}' 3 #pragma once 4 @else 5 #ifndef %{CONSTANTS_GUARD} 6 #define %{CONSTANTS_GUARD} 7 @endif 8 9 namespace %{PluginName} { 10 namespace Constants { 11 12 const char ACTION_ID[] = "%{PluginName}.Action"; 13 const char MENU_ID[] = "%{PluginName}.Menu"; 14 15 } // namespace Constants 16 } // namespace %{PluginName} 17 18 @if ! '%{Cpp:PragmaOnce}' 19 #endif // %{CONSTANTS_GUARD} 20 @endif 21