diff --git a/sources/appl/Buffer.cpp b/sources/appl/Buffer.cpp index 3a9ff2b..1801fff 100644 --- a/sources/appl/Buffer.cpp +++ b/sources/appl/Buffer.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include #include diff --git a/sources/appl/Buffer.h b/sources/appl/Buffer.h index 3c95f95..4754717 100644 --- a/sources/appl/Buffer.h +++ b/sources/appl/Buffer.h @@ -1,13 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_BUFFER_H__ -#define __APPL_BUFFER_H__ +#pragma once #include #include @@ -626,7 +622,4 @@ namespace appl { void hightlightGenerateLines(appl::DisplayHLData& _MData, const appl::Buffer::Iterator& _HLStart, int64_t _nbLines); appl::HighlightInfo* getElementColorAtPosition(appl::DisplayHLData& _MData, int64_t _pos); }; -}; - - -#endif +} diff --git a/sources/appl/BufferManager.cpp b/sources/appl/BufferManager.cpp index 397849e..7d71dd1 100644 --- a/sources/appl/BufferManager.cpp +++ b/sources/appl/BufferManager.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/BufferManager.h b/sources/appl/BufferManager.h index 77f737a..267e96d 100644 --- a/sources/appl/BufferManager.h +++ b/sources/appl/BufferManager.h @@ -1,13 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __BUFFER_MANAGER_H__ -#define __BUFFER_MANAGER_H__ +#pragma once #include #include @@ -96,7 +92,6 @@ namespace appl { return m_list.end(); } }; -}; +} -#endif diff --git a/sources/appl/GlyphDecoration.cpp b/sources/appl/GlyphDecoration.cpp index e0d5ab4..63e0c4f 100644 --- a/sources/appl/GlyphDecoration.cpp +++ b/sources/appl/GlyphDecoration.cpp @@ -1,47 +1,40 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include appl::GlyphDecoration::GlyphDecoration(const std::string &_newColorName) : - m_colorName(_newColorName), - m_colorFG(etk::color::black), - m_colorBG(etk::color::none), - m_italic(false), - m_bold(false) -{ - APPL_VERBOSE("New(" << __class__ << ")"); + m_colorName(_newColorName), + m_colorFG(etk::color::black), + m_colorBG(etk::color::none), + m_italic(false), + m_bold(false) { + APPL_VERBOSE("create"); } -void appl::GlyphDecoration::setItalic(bool _enable) -{ +void appl::GlyphDecoration::setItalic(bool _enable) { m_italic = _enable; - if (true == _enable) { + if (_enable == true) { APPL_VERBOSE("color : \"" << m_colorName << "\" enable italic"); } else { APPL_VERBOSE("color : \"" << m_colorName << "\" disable italic"); } } -void appl::GlyphDecoration::setBold(bool _enable) -{ +void appl::GlyphDecoration::setBold(bool _enable) { m_bold = _enable; - if (true == _enable) { + if (_enable == true) { APPL_VERBOSE("color : \"" << m_colorName << "\" enable bold"); } else { APPL_VERBOSE("color : \"" << m_colorName << "\" disable bold"); } } -std::ostream& appl::operator <<(std::ostream& _os, const appl::GlyphDecoration& _obj) -{ +std::ostream& appl::operator <<(std::ostream& _os, const appl::GlyphDecoration& _obj) { _os << "{fg=" << _obj.getForeground(); _os << ",bg=" << _obj.getBackground(); _os << ",italic=" << _obj.getItalic(); diff --git a/sources/appl/GlyphDecoration.h b/sources/appl/GlyphDecoration.h index 2c5198a..87bdef4 100644 --- a/sources/appl/GlyphDecoration.h +++ b/sources/appl/GlyphDecoration.h @@ -1,13 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __GLYPH_DECORATION_H__ -#define __GLYPH_DECORATION_H__ +#pragma once #include #include @@ -119,6 +115,4 @@ namespace appl { std::ostream& operator <<(std::ostream& _os, const appl::GlyphDecoration& _obj); } -#endif - diff --git a/sources/appl/GlyphPainting.cpp b/sources/appl/GlyphPainting.cpp index 186789b..f98ad25 100644 --- a/sources/appl/GlyphPainting.cpp +++ b/sources/appl/GlyphPainting.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/GlyphPainting.h b/sources/appl/GlyphPainting.h index b02b483..ecae4fa 100644 --- a/sources/appl/GlyphPainting.h +++ b/sources/appl/GlyphPainting.h @@ -1,13 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_GLYPH_PAINTING_H__ -#define __APPL_GLYPH_PAINTING_H__ +#pragma once #include #include @@ -52,7 +48,6 @@ namespace appl { return m_list[_pos]; } }; -}; +} -#endif diff --git a/sources/appl/Gui/BufferView.cpp b/sources/appl/Gui/BufferView.cpp index 9e4c4f4..a2b7c05 100644 --- a/sources/appl/Gui/BufferView.cpp +++ b/sources/appl/Gui/BufferView.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/BufferView.h b/sources/appl/Gui/BufferView.h index 41de984..7d1511c 100644 --- a/sources/appl/Gui/BufferView.h +++ b/sources/appl/Gui/BufferView.h @@ -1,13 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __BUFFER_VIEW_H__ -#define __BUFFER_VIEW_H__ +#pragma once #include #include @@ -79,7 +75,3 @@ class BufferView : public ewol::widget::List { void onCallbackBufferRemoved(const std::shared_ptr& _buffer); }; - -#endif - - diff --git a/sources/appl/Gui/MainWindows.cpp b/sources/appl/Gui/MainWindows.cpp index 63e17e6..574a162 100644 --- a/sources/appl/Gui/MainWindows.cpp +++ b/sources/appl/Gui/MainWindows.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include #include diff --git a/sources/appl/Gui/MainWindows.h b/sources/appl/Gui/MainWindows.h index 8e96e5c..110e378 100644 --- a/sources/appl/Gui/MainWindows.h +++ b/sources/appl/Gui/MainWindows.h @@ -1,13 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __MAIN_WINDOWS_H__ -#define __MAIN_WINDOWS_H__ +#pragma once #include #include @@ -56,6 +52,3 @@ class MainWindows : public ewol::widget::Windows { }; -#endif - - diff --git a/sources/appl/Gui/Search.cpp b/sources/appl/Gui/Search.cpp index 4debc5b..7cb3b4e 100644 --- a/sources/appl/Gui/Search.cpp +++ b/sources/appl/Gui/Search.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include "appl/global.h" #include "appl/Gui/Search.h" #include "appl/BufferManager.h" diff --git a/sources/appl/Gui/Search.h b/sources/appl/Gui/Search.h index bb2a16f..c336702 100644 --- a/sources/appl/Gui/Search.h +++ b/sources/appl/Gui/Search.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __SEARCH_H__ -#define __SEARCH_H__ - +#pragma once #include #include #include @@ -63,7 +58,5 @@ namespace appl { void OnCallbackForward(const bool& _value); }; }; -}; -#endif - +} diff --git a/sources/appl/Gui/TagFileList.cpp b/sources/appl/Gui/TagFileList.cpp index 4f60e86..c615aa9 100644 --- a/sources/appl/Gui/TagFileList.cpp +++ b/sources/appl/Gui/TagFileList.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include diff --git a/sources/appl/Gui/TagFileList.h b/sources/appl/Gui/TagFileList.h index 1e09bca..d9c81c8 100644 --- a/sources/appl/Gui/TagFileList.h +++ b/sources/appl/Gui/TagFileList.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_CTAGS_LIST_H__ -#define __APPL_CTAGS_LIST_H__ - +#pragma once #include #include #include @@ -62,10 +57,5 @@ namespace appl { */ void add(std::string& _file, int32_t _line); }; -}; - - - -#endif - +} diff --git a/sources/appl/Gui/TagFileSelection.cpp b/sources/appl/Gui/TagFileSelection.cpp index 8169c63..ae7c9b2 100644 --- a/sources/appl/Gui/TagFileSelection.cpp +++ b/sources/appl/Gui/TagFileSelection.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/TagFileSelection.h b/sources/appl/Gui/TagFileSelection.h index 54f6975..0c8c030 100644 --- a/sources/appl/Gui/TagFileSelection.h +++ b/sources/appl/Gui/TagFileSelection.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_CTAGS_SELECTION_H__ -#define __APPL_CTAGS_SELECTION_H__ - +#pragma once #include #include #include @@ -40,8 +35,5 @@ namespace appl { void onCallbackCtagsListSelect(const std::string& _value); void onCallbackCtagsListUnSelect(); }; -}; - - -#endif +} diff --git a/sources/appl/Gui/TextViewer.cpp b/sources/appl/Gui/TextViewer.cpp index c91b585..84357a1 100644 --- a/sources/appl/Gui/TextViewer.cpp +++ b/sources/appl/Gui/TextViewer.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/TextViewer.h b/sources/appl/Gui/TextViewer.h index bacb684..9efcf8c 100644 --- a/sources/appl/Gui/TextViewer.h +++ b/sources/appl/Gui/TextViewer.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_VIEWER_H__ -#define __APPL_TEXT_VIEWER_H__ - +#pragma once #include #include #include @@ -423,7 +418,5 @@ namespace appl { void onCallbackSelectChange(); void onCallbackselectNewFile(const std::string& _value); }; -}; - -#endif +} diff --git a/sources/appl/Gui/ViewerManager.cpp b/sources/appl/Gui/ViewerManager.cpp index 3fd10c2..27a867c 100644 --- a/sources/appl/Gui/ViewerManager.cpp +++ b/sources/appl/Gui/ViewerManager.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/ViewerManager.h b/sources/appl/Gui/ViewerManager.h index d589d55..5cff31b 100644 --- a/sources/appl/Gui/ViewerManager.h +++ b/sources/appl/Gui/ViewerManager.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __VIEWER_MANAGER_H__ -#define __VIEWER_MANAGER_H__ - +#pragma once #include #include #include @@ -49,7 +44,4 @@ namespace appl { */ bool isLastSelected(const std::shared_ptr& _viewer); }; -}; - -#endif - +} diff --git a/sources/appl/Gui/WorkerCloseAllFile.cpp b/sources/appl/Gui/WorkerCloseAllFile.cpp index 29de072..87db59c 100644 --- a/sources/appl/Gui/WorkerCloseAllFile.cpp +++ b/sources/appl/Gui/WorkerCloseAllFile.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/WorkerCloseAllFile.h b/sources/appl/Gui/WorkerCloseAllFile.h index 9c2e4a2..85d70d2 100644 --- a/sources/appl/Gui/WorkerCloseAllFile.h +++ b/sources/appl/Gui/WorkerCloseAllFile.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __WORKER_CLOSE_ALL_FILE_H__ -#define __WORKER_CLOSE_ALL_FILE_H__ - +#pragma once #include #include #include @@ -28,7 +23,4 @@ namespace appl { public: // callback function void onCallbackCloseDone(); }; -}; - -#endif - +} diff --git a/sources/appl/Gui/WorkerCloseFile.cpp b/sources/appl/Gui/WorkerCloseFile.cpp index 8e8084c..8a5203b 100644 --- a/sources/appl/Gui/WorkerCloseFile.cpp +++ b/sources/appl/Gui/WorkerCloseFile.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/WorkerCloseFile.h b/sources/appl/Gui/WorkerCloseFile.h index ea86d2f..b572302 100644 --- a/sources/appl/Gui/WorkerCloseFile.h +++ b/sources/appl/Gui/WorkerCloseFile.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __WORKER_CLOSE_FILE_H__ -#define __WORKER_CLOSE_FILE_H__ - +#pragma once #include #include #include @@ -42,6 +37,5 @@ namespace appl { void onCallbackClose(); void onCallbackCancel(); }; -}; +} -#endif \ No newline at end of file diff --git a/sources/appl/Gui/WorkerSaveAllFile.cpp b/sources/appl/Gui/WorkerSaveAllFile.cpp index 45c69c1..b1a4e61 100644 --- a/sources/appl/Gui/WorkerSaveAllFile.cpp +++ b/sources/appl/Gui/WorkerSaveAllFile.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/WorkerSaveAllFile.h b/sources/appl/Gui/WorkerSaveAllFile.h index c3f1192..22a1f7d 100644 --- a/sources/appl/Gui/WorkerSaveAllFile.h +++ b/sources/appl/Gui/WorkerSaveAllFile.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __WORKER_SAVE_ALL_FILE_H__ -#define __WORKER_SAVE_ALL_FILE_H__ - +#pragma once #include #include #include @@ -28,6 +23,5 @@ namespace appl { public: // callback function void onCallbackSaveAsDone(); }; -}; +} -#endif diff --git a/sources/appl/Gui/WorkerSaveFile.cpp b/sources/appl/Gui/WorkerSaveFile.cpp index bb25932..42787a7 100644 --- a/sources/appl/Gui/WorkerSaveFile.cpp +++ b/sources/appl/Gui/WorkerSaveFile.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Gui/WorkerSaveFile.h b/sources/appl/Gui/WorkerSaveFile.h index 1b08853..7febd0d 100644 --- a/sources/appl/Gui/WorkerSaveFile.h +++ b/sources/appl/Gui/WorkerSaveFile.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __WORKER_SAVE_FILE_H__ -#define __WORKER_SAVE_FILE_H__ - +#pragma once #include #include #include @@ -33,6 +28,5 @@ namespace appl { void onCallbackSaveAsValidate(const std::string& _value); void onCallbackCancel(); }; -}; +} -#endif diff --git a/sources/appl/Highlight.cpp b/sources/appl/Highlight.cpp index 96b9b36..850f6e6 100644 --- a/sources/appl/Highlight.cpp +++ b/sources/appl/Highlight.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/Highlight.h b/sources/appl/Highlight.h index d1d3dcd..5de4cfa 100644 --- a/sources/appl/Highlight.h +++ b/sources/appl/Highlight.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __HIGHLIGHT_H__ -#define __HIGHLIGHT_H__ - +#pragma once namespace appl { class Highlight; @@ -21,7 +16,7 @@ namespace appl { bool notEnded; appl::HighlightPattern* patern; }; -}; +} #include #include @@ -78,12 +73,6 @@ namespace appl { return true; }; }; -}; - - - - - -#endif +} diff --git a/sources/appl/HighlightManager.cpp b/sources/appl/HighlightManager.cpp index c033700..b47807f 100644 --- a/sources/appl/HighlightManager.cpp +++ b/sources/appl/HighlightManager.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/HighlightManager.h b/sources/appl/HighlightManager.h index ec38a1f..9dcbc7a 100644 --- a/sources/appl/HighlightManager.h +++ b/sources/appl/HighlightManager.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __HIGHLIGHT_MANAGER_H__ -#define __HIGHLIGHT_MANAGER_H__ - +#pragma once #include #include @@ -43,8 +38,5 @@ namespace appl { */ std::vector getTypeList(); }; -}; - - -#endif +} diff --git a/sources/appl/HighlightPattern.cpp b/sources/appl/HighlightPattern.cpp index 94293d2..563c95b 100644 --- a/sources/appl/HighlightPattern.cpp +++ b/sources/appl/HighlightPattern.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/HighlightPattern.h b/sources/appl/HighlightPattern.h index 32f8e5c..9e5f5bf 100644 --- a/sources/appl/HighlightPattern.h +++ b/sources/appl/HighlightPattern.h @@ -1,16 +1,11 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - +#pragma once #include -#ifndef __HIGHLIGHT_PATTERN_H__ -#define __HIGHLIGHT_PATTERN_H__ - class HighlightPattern; #include @@ -89,8 +84,5 @@ namespace appl { void parseRules(const exml::Element& _child, int32_t _level); }; -}; - -#endif - +} diff --git a/sources/appl/TextPlugin.cpp b/sources/appl/TextPlugin.cpp index de47520..3973d79 100644 --- a/sources/appl/TextPlugin.cpp +++ b/sources/appl/TextPlugin.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include #include diff --git a/sources/appl/TextPlugin.h b/sources/appl/TextPlugin.h index 7366dd7..42c7854 100644 --- a/sources/appl/TextPlugin.h +++ b/sources/appl/TextPlugin.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_H__ -#define __APPL_TEXT_PLUGIN_H__ - +#pragma once #include #include #include @@ -221,7 +216,5 @@ namespace appl { return false; } }; -}; +} - -#endif diff --git a/sources/appl/TextPluginAutoIndent.cpp b/sources/appl/TextPluginAutoIndent.cpp index f6cc96a..5d534d5 100644 --- a/sources/appl/TextPluginAutoIndent.cpp +++ b/sources/appl/TextPluginAutoIndent.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include #include diff --git a/sources/appl/TextPluginAutoIndent.h b/sources/appl/TextPluginAutoIndent.h index abfde49..0327f9c 100644 --- a/sources/appl/TextPluginAutoIndent.h +++ b/sources/appl/TextPluginAutoIndent.h @@ -1,14 +1,9 @@ -/** +/** @file * @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__ - +#pragma once #include #include #include @@ -28,7 +23,5 @@ namespace appl { virtual bool onEventEntry(appl::TextViewer& _textDrawer, const ewol::event::Entry& _event); }; -}; +} - -#endif diff --git a/sources/appl/TextPluginCopy.cpp b/sources/appl/TextPluginCopy.cpp index f6605fd..e8ceb4a 100644 --- a/sources/appl/TextPluginCopy.cpp +++ b/sources/appl/TextPluginCopy.cpp @@ -1,12 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/TextPluginCopy.h b/sources/appl/TextPluginCopy.h index 32d41fe..22e20fc 100644 --- a/sources/appl/TextPluginCopy.h +++ b/sources/appl/TextPluginCopy.h @@ -1,14 +1,9 @@ -/** +/** @file * @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__ - +#pragma once #include #include #include @@ -35,7 +30,5 @@ namespace appl { virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); }; -}; +} - -#endif diff --git a/sources/appl/TextPluginCtags.cpp b/sources/appl/TextPluginCtags.cpp index 8f321ed..fda40f2 100644 --- a/sources/appl/TextPluginCtags.cpp +++ b/sources/appl/TextPluginCtags.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include #include diff --git a/sources/appl/TextPluginCtags.h b/sources/appl/TextPluginCtags.h index cb67885..c2a44cb 100644 --- a/sources/appl/TextPluginCtags.h +++ b/sources/appl/TextPluginCtags.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_CTAGS_H__ -#define __APPL_TEXT_PLUGIN_CTAGS_H__ - +#pragma once #include #include #include @@ -48,7 +43,5 @@ namespace appl { void onCallbackOpenCtagsOpenFileReturn(const std::string& _value); void onCallbackOpenCtagsSelectReturn(const std::string& _value); }; -}; +} - -#endif diff --git a/sources/appl/TextPluginData.h b/sources/appl/TextPluginData.h index bab4e21..1a5cb0f 100644 --- a/sources/appl/TextPluginData.h +++ b/sources/appl/TextPluginData.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_DATA_H__ -#define __APPL_TEXT_PLUGIN_DATA_H__ - +#pragma once #include #include #include @@ -123,7 +118,5 @@ namespace appl { return; }; }; -}; +} - -#endif diff --git a/sources/appl/TextPluginHistory.cpp b/sources/appl/TextPluginHistory.cpp index fc5aebb..0ef0f52 100644 --- a/sources/appl/TextPluginHistory.cpp +++ b/sources/appl/TextPluginHistory.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include #include diff --git a/sources/appl/TextPluginHistory.h b/sources/appl/TextPluginHistory.h index 7dc0985..63f2bcc 100644 --- a/sources/appl/TextPluginHistory.h +++ b/sources/appl/TextPluginHistory.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_HISTORY_H__ -#define __APPL_TEXT_PLUGIN_HISTORY_H__ - +#pragma once #include #include #include @@ -73,7 +68,5 @@ namespace appl { void clearRedo(appl::PluginHistoryData& _data); void clearUndo(appl::PluginHistoryData& _data); }; -}; +} - -#endif diff --git a/sources/appl/TextPluginManager.cpp b/sources/appl/TextPluginManager.cpp index 0b9bac9..9a69c9a 100644 --- a/sources/appl/TextPluginManager.cpp +++ b/sources/appl/TextPluginManager.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/TextPluginManager.h b/sources/appl/TextPluginManager.h index 6710693..7fa33f2 100644 --- a/sources/appl/TextPluginManager.h +++ b/sources/appl/TextPluginManager.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_MANAGER_H__ -#define __APPL_TEXT_PLUGIN_MANAGER_H__ - +#pragma once #include #include #include @@ -117,7 +112,5 @@ namespace appl { bool onCursorMove(appl::TextViewer& _textDrawer, const appl::Buffer::Iterator& _pos); }; -}; +} - -#endif diff --git a/sources/appl/TextPluginMultiLineTab.cpp b/sources/appl/TextPluginMultiLineTab.cpp index b63c147..7d881c1 100644 --- a/sources/appl/TextPluginMultiLineTab.cpp +++ b/sources/appl/TextPluginMultiLineTab.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include diff --git a/sources/appl/TextPluginMultiLineTab.h b/sources/appl/TextPluginMultiLineTab.h index 3d45518..e3ee214 100644 --- a/sources/appl/TextPluginMultiLineTab.h +++ b/sources/appl/TextPluginMultiLineTab.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_MULTI_LINE_TAB_H__ -#define __APPL_TEXT_PLUGIN_MULTI_LINE_TAB_H__ - +#pragma once #include #include #include @@ -28,8 +23,5 @@ namespace appl { virtual bool onEventEntry(appl::TextViewer& _textDrawer, const ewol::event::Entry& _event); }; -}; - - -#endif +} diff --git a/sources/appl/TextPluginRmLine.cpp b/sources/appl/TextPluginRmLine.cpp index 25bd20a..b4feed8 100644 --- a/sources/appl/TextPluginRmLine.cpp +++ b/sources/appl/TextPluginRmLine.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include diff --git a/sources/appl/TextPluginRmLine.h b/sources/appl/TextPluginRmLine.h index b816b69..3e3836a 100644 --- a/sources/appl/TextPluginRmLine.h +++ b/sources/appl/TextPluginRmLine.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_RM_LINE_H__ -#define __APPL_TEXT_RM_LINE_H__ - +#pragma once #include #include #include @@ -29,7 +24,5 @@ namespace appl { virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); }; -}; +} - -#endif diff --git a/sources/appl/TextPluginSelectAll.cpp b/sources/appl/TextPluginSelectAll.cpp index a52ebfe..38094e9 100644 --- a/sources/appl/TextPluginSelectAll.cpp +++ b/sources/appl/TextPluginSelectAll.cpp @@ -1,12 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - - #include #include diff --git a/sources/appl/TextPluginSelectAll.h b/sources/appl/TextPluginSelectAll.h index 6c8c2d4..c3ea578 100644 --- a/sources/appl/TextPluginSelectAll.h +++ b/sources/appl/TextPluginSelectAll.h @@ -1,14 +1,9 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __APPL_TEXT_PLUGIN_SELECT_ALL_H__ -#define __APPL_TEXT_PLUGIN_SELECT_ALL_H__ - +#pragma once #include #include #include @@ -32,7 +27,5 @@ namespace appl { virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); }; -}; +} - -#endif diff --git a/sources/appl/debug.cpp b/sources/appl/debug.cpp index 2df3ae0..93503e2 100644 --- a/sources/appl/debug.cpp +++ b/sources/appl/debug.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include int32_t appl::getLogId() { diff --git a/sources/appl/debug.h b/sources/appl/debug.h index 6189a3b..80aaaf0 100644 --- a/sources/appl/debug.h +++ b/sources/appl/debug.h @@ -1,8 +1,6 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ #pragma once diff --git a/sources/appl/global.cpp b/sources/appl/global.cpp index c5e06c8..7cd3425 100644 --- a/sources/appl/global.cpp +++ b/sources/appl/global.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/sources/appl/global.h b/sources/appl/global.h index 5c6d1b0..e89a9ad 100644 --- a/sources/appl/global.h +++ b/sources/appl/global.h @@ -1,20 +1,13 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - -#ifndef __TOOLS_GLOBALS_H__ -#define __TOOLS_GLOBALS_H__ - +#pragma once #include #include - -namespace globals -{ +namespace globals { void init(); void UnInit(); int32_t getNbColoneBorder(); @@ -49,9 +42,6 @@ namespace globals void onCallbackTabulation(const bool& _value); void onCallbackRounded(const bool& _value); }; - } -#endif - diff --git a/sources/appl/init.cpp b/sources/appl/init.cpp index 386cb8a..3b7c242 100644 --- a/sources/appl/init.cpp +++ b/sources/appl/init.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * * @copyright 2010, Edouard DUPIN, all right reserved - * * @license GPL v3 (see license file) */ - #include #include #include diff --git a/test/cpp.cpp b/test/cpp.cpp index f37c85b..a075bf6 100644 --- a/test/cpp.cpp +++ b/test/cpp.cpp @@ -1,11 +1,8 @@ -/** +/** @file * @author Edouard DUPIN - * - * @copyright 2011, Edouard DUPIN, all right reserved - * - * @license BSD v3 (see license file) + * @copyright 2010, Edouard DUPIN, all right reserved + * @license GPL v3 (see license file) */ - #ifndef __EWOL_WIDGET_H__ #define __EWOL_WIDGET_H__