Files
qt-creator/share/qtcreator/templates/wizards/qtcreatorplugin/mypluginconstants.h
Eike Ziller 8b143d5f5a Move Qt Creator plugin wizard to JSON
Change-Id: Ida52d0998739db76a1a1d61da9271d2989a27649
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-01-06 15:39:04 +00:00

21 lines
390 B
C++

%{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