/** * @author Edouard DUPIN * * @copyright 2010, Edouard DUPIN, all right reserved * * @license GPL v3 (see license file) */ #ifndef __APPL_TEXT_PLUGIN_COPY_H__ #define __APPL_TEXT_PLUGIN_COPY_H__ #include #include #include #include #include namespace appl { class TextPluginCopy : public appl::TextViewerPlugin { protected: TextPluginCopy(); void init(); public: DECLARE_FACTORY(TextPluginCopy); virtual ~TextPluginCopy() { // nothing to do ... }; public: virtual void onPluginEnable(appl::TextViewer& _textDrawer); virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); }; }; #endif