Files
qt-creator/share/qtcreator/templates/wizards/qtcreatorplugin/mypluginconstants.h

21 lines
390 B
C
Raw Normal View History

%{Cpp:LicenseTemplate}\
@if '%{Cpp:PragmaOnce}'
#pragma once
@else
#ifndef %{CONSTANTS_GUARD}
#define %{CONSTANTS_GUARD}
@endif
namespace %{PluginName} {
namespace Constants {
const char ACTION_ID[] = "%{PluginName}.Action";
const char MENU_ID[] = "%{PluginName}.Menu";
} // namespace Constants
} // namespace %{PluginName}
@if ! '%{Cpp:PragmaOnce}'
#endif // %{CONSTANTS_GUARD}
@endif