/usr/share/monkeystudio/templates/C++/MkS XUP Plugin/$Sources Path$$Plugin Name$.cpp is in monkeystudio-common 1.9.0.4-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #include "$Plugin Name$.h"
void $Plugin Name$::fillPluginInfos()
{
mPluginInfos.Caption = tr( "$Plugin Name$" );
mPluginInfos.Description = tr( "$Description$" );
mPluginInfos.Author = "$Authors$";
mPluginInfos.Type = BasePlugin::iXUP;
mPluginInfos.Name = PLUGIN_NAME;
mPluginInfos.Version = "0.5.0";
mPluginInfos.FirstStartEnabled = false;
mPluginInfos.HaveSettingsWidget = false;
mPluginInfos.Pixmap = pIconManager::pixmap( "$Plugin Name$.png", ":/icons" );
}
bool $Plugin Name$::install()
{
// place your init code here
return false;
}
bool $Plugin Name$::uninstall()
{
// place your deinit code here
return false;
}
Q_EXPORT_PLUGIN2( XUP$Plugin Name$, $Plugin Name$ )
|