/usr/share/monkeystudio/templates/C++/MkS Child Plugin/$Sources Path$$Plugin Name$.h is in monkeystudio-common 1.9.0.1-2.
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 | #ifndef $Plugin Name.upper$_H
#define $Plugin Name.upper$_H
#include <pluginsmanager/ChildPlugin.h>
class $Plugin Name$ : public QObject, public ChildPlugin
{
Q_OBJECT
Q_INTERFACES( BasePlugin ChildPlugin )
public:
virtual pAbstractChild* createDocument( const QString& fileName );
protected:
virtual void fillPluginInfos();
virtual bool install();
virtual bool uninstall();
};
#endif // $Plugin Name.upper$_H
|