/** * @author Edouard DUPIN * * @copyright 2010, Edouard DUPIN, all right reserved * * @license GPL v3 (see license file) */ #ifndef __APPL_TEXT_PLUGIN_AUTO_INDENT_H__ #define __APPL_TEXT_PLUGIN_AUTO_INDENT_H__ #include #include #include #include #include namespace appl { class TextPluginAutoIndent : public appl::TextViewerPlugin { protected: TextPluginAutoIndent(); void init(); public: DECLARE_FACTORY(TextPluginAutoIndent); virtual ~TextPluginAutoIndent() { // nothing to do ... }; public: virtual bool onEventEntry(appl::TextViewer& _textDrawer, const ewol::event::Entry& _event); }; }; #endif