[DEV] clean header file

This commit is contained in:
Edouard DUPIN 2016-05-02 22:01:55 +02:00
parent 8eb7fe9839
commit c284ad0b3a
61 changed files with 130 additions and 450 deletions

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <etk/types.h> #include <etk/types.h>
#include <etk/stdTools.h> #include <etk/stdTools.h>
#include <appl/Buffer.h> #include <appl/Buffer.h>

View File

@ -1,13 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_BUFFER_H__
#define __APPL_BUFFER_H__
#include <etk/types.h> #include <etk/types.h>
#include <etk/os/FSNode.h> #include <etk/os/FSNode.h>
@ -626,7 +622,4 @@ namespace appl {
void hightlightGenerateLines(appl::DisplayHLData& _MData, const appl::Buffer::Iterator& _HLStart, int64_t _nbLines); void hightlightGenerateLines(appl::DisplayHLData& _MData, const appl::Buffer::Iterator& _HLStart, int64_t _nbLines);
appl::HighlightInfo* getElementColorAtPosition(appl::DisplayHLData& _MData, int64_t _pos); appl::HighlightInfo* getElementColorAtPosition(appl::DisplayHLData& _MData, int64_t _pos);
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <etk/types.h> #include <etk/types.h>
#include <etk/os/FSNode.h> #include <etk/os/FSNode.h>
#include <appl/debug.h> #include <appl/debug.h>

View File

@ -1,13 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __BUFFER_MANAGER_H__
#define __BUFFER_MANAGER_H__
#include <list> #include <list>
#include <appl/Buffer.h> #include <appl/Buffer.h>
@ -96,7 +92,6 @@ namespace appl {
return m_list.end(); return m_list.end();
} }
}; };
}; }
#endif

View File

@ -1,47 +1,40 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/GlyphDecoration.h> #include <appl/GlyphDecoration.h>
appl::GlyphDecoration::GlyphDecoration(const std::string &_newColorName) : appl::GlyphDecoration::GlyphDecoration(const std::string &_newColorName) :
m_colorName(_newColorName), m_colorName(_newColorName),
m_colorFG(etk::color::black), m_colorFG(etk::color::black),
m_colorBG(etk::color::none), m_colorBG(etk::color::none),
m_italic(false), m_italic(false),
m_bold(false) m_bold(false) {
{ APPL_VERBOSE("create");
APPL_VERBOSE("New(" << __class__ << ")");
} }
void appl::GlyphDecoration::setItalic(bool _enable) void appl::GlyphDecoration::setItalic(bool _enable) {
{
m_italic = _enable; m_italic = _enable;
if (true == _enable) { if (_enable == true) {
APPL_VERBOSE("color : \"" << m_colorName << "\" enable italic"); APPL_VERBOSE("color : \"" << m_colorName << "\" enable italic");
} else { } else {
APPL_VERBOSE("color : \"" << m_colorName << "\" disable italic"); APPL_VERBOSE("color : \"" << m_colorName << "\" disable italic");
} }
} }
void appl::GlyphDecoration::setBold(bool _enable) void appl::GlyphDecoration::setBold(bool _enable) {
{
m_bold = _enable; m_bold = _enable;
if (true == _enable) { if (_enable == true) {
APPL_VERBOSE("color : \"" << m_colorName << "\" enable bold"); APPL_VERBOSE("color : \"" << m_colorName << "\" enable bold");
} else { } else {
APPL_VERBOSE("color : \"" << m_colorName << "\" disable bold"); 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 << "{fg=" << _obj.getForeground();
_os << ",bg=" << _obj.getBackground(); _os << ",bg=" << _obj.getBackground();
_os << ",italic=" << _obj.getItalic(); _os << ",italic=" << _obj.getItalic();

View File

@ -1,13 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __GLYPH_DECORATION_H__
#define __GLYPH_DECORATION_H__
#include <etk/Color.h> #include <etk/Color.h>
#include <etk/types.h> #include <etk/types.h>
@ -119,6 +115,4 @@ namespace appl {
std::ostream& operator <<(std::ostream& _os, const appl::GlyphDecoration& _obj); std::ostream& operator <<(std::ostream& _os, const appl::GlyphDecoration& _obj);
} }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/GlyphPainting.h> #include <appl/GlyphPainting.h>

View File

@ -1,13 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_GLYPH_PAINTING_H__
#define __APPL_GLYPH_PAINTING_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/debug.h> #include <ewol/debug.h>
@ -52,7 +48,6 @@ namespace appl {
return m_list[_pos]; return m_list[_pos];
} }
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/Gui/BufferView.h> #include <appl/Gui/BufferView.h>

View File

@ -1,13 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __BUFFER_VIEW_H__
#define __BUFFER_VIEW_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/BufferManager.h> #include <appl/BufferManager.h>
@ -79,7 +75,3 @@ class BufferView : public ewol::widget::List {
void onCallbackBufferRemoved(const std::shared_ptr<appl::Buffer>& _buffer); void onCallbackBufferRemoved(const std::shared_ptr<appl::Buffer>& _buffer);
}; };
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/Gui/MainWindows.h> #include <appl/Gui/MainWindows.h>

View File

@ -1,13 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __MAIN_WINDOWS_H__
#define __MAIN_WINDOWS_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/globalMsg.h> #include <appl/globalMsg.h>
@ -56,6 +52,3 @@ class MainWindows : public ewol::widget::Windows {
}; };
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include "appl/global.h" #include "appl/global.h"
#include "appl/Gui/Search.h" #include "appl/Gui/Search.h"
#include "appl/BufferManager.h" #include "appl/BufferManager.h"

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __SEARCH_H__
#define __SEARCH_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <ewol/widget/Composer.h> #include <ewol/widget/Composer.h>
#include <ewol/widget/Entry.h> #include <ewol/widget/Entry.h>
@ -63,7 +58,5 @@ namespace appl {
void OnCallbackForward(const bool& _value); void OnCallbackForward(const bool& _value);
}; };
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <etk/tool.h> #include <etk/tool.h>
#include <appl/Gui/TagFileList.h> #include <appl/Gui/TagFileList.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_CTAGS_LIST_H__
#define __APPL_CTAGS_LIST_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <ewol/widget/List.h> #include <ewol/widget/List.h>
#include <ewol/resource/ColorFile.h> #include <ewol/resource/ColorFile.h>
@ -62,10 +57,5 @@ namespace appl {
*/ */
void add(std::string& _file, int32_t _line); void add(std::string& _file, int32_t _line);
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/Gui/TagFileSelection.h> #include <appl/Gui/TagFileSelection.h>
#include <ewol/widget/Sizer.h> #include <ewol/widget/Sizer.h>
#include <ewol/widget/List.h> #include <ewol/widget/List.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_CTAGS_SELECTION_H__
#define __APPL_CTAGS_SELECTION_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <ewol/widget/PopUp.h> #include <ewol/widget/PopUp.h>
#include <appl/Gui/TagFileList.h> #include <appl/Gui/TagFileList.h>
@ -40,8 +35,5 @@ namespace appl {
void onCallbackCtagsListSelect(const std::string& _value); void onCallbackCtagsListSelect(const std::string& _value);
void onCallbackCtagsListUnSelect(); void onCallbackCtagsListUnSelect();
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_VIEWER_H__
#define __APPL_TEXT_VIEWER_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/Buffer.h> #include <appl/Buffer.h>
#include <appl/globalMsg.h> #include <appl/globalMsg.h>
@ -423,7 +418,5 @@ namespace appl {
void onCallbackSelectChange(); void onCallbackSelectChange();
void onCallbackselectNewFile(const std::string& _value); void onCallbackselectNewFile(const std::string& _value);
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/Gui/ViewerManager.h> #include <appl/Gui/ViewerManager.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __VIEWER_MANAGER_H__
#define __VIEWER_MANAGER_H__
#include <appl/Buffer.h> #include <appl/Buffer.h>
#include <appl/globalMsg.h> #include <appl/globalMsg.h>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.h>
@ -49,7 +44,4 @@ namespace appl {
*/ */
bool isLastSelected(const std::shared_ptr<appl::TextViewer>& _viewer); bool isLastSelected(const std::shared_ptr<appl::TextViewer>& _viewer);
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/Gui/WorkerCloseAllFile.h> #include <appl/Gui/WorkerCloseAllFile.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __WORKER_CLOSE_ALL_FILE_H__
#define __WORKER_CLOSE_ALL_FILE_H__
#include <ewol/object/Worker.h> #include <ewol/object/Worker.h>
#include <appl/BufferManager.h> #include <appl/BufferManager.h>
#include <appl/Gui/WorkerCloseFile.h> #include <appl/Gui/WorkerCloseFile.h>
@ -28,7 +23,4 @@ namespace appl {
public: // callback function public: // callback function
void onCallbackCloseDone(); void onCallbackCloseDone();
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/Gui/WorkerCloseFile.h> #include <appl/Gui/WorkerCloseFile.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __WORKER_CLOSE_FILE_H__
#define __WORKER_CLOSE_FILE_H__
#include <ewol/object/Worker.h> #include <ewol/object/Worker.h>
#include <ewol/widget/meta/FileChooser.h> #include <ewol/widget/meta/FileChooser.h>
#include <appl/BufferManager.h> #include <appl/BufferManager.h>
@ -42,6 +37,5 @@ namespace appl {
void onCallbackClose(); void onCallbackClose();
void onCallbackCancel(); void onCallbackCancel();
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/Gui/WorkerSaveAllFile.h> #include <appl/Gui/WorkerSaveAllFile.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __WORKER_SAVE_ALL_FILE_H__
#define __WORKER_SAVE_ALL_FILE_H__
#include <ewol/object/Worker.h> #include <ewol/object/Worker.h>
#include <appl/BufferManager.h> #include <appl/BufferManager.h>
#include <appl/Gui/WorkerSaveFile.h> #include <appl/Gui/WorkerSaveFile.h>
@ -28,6 +23,5 @@ namespace appl {
public: // callback function public: // callback function
void onCallbackSaveAsDone(); void onCallbackSaveAsDone();
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/Gui/WorkerSaveFile.h> #include <appl/Gui/WorkerSaveFile.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __WORKER_SAVE_FILE_H__
#define __WORKER_SAVE_FILE_H__
#include <ewol/widget/meta/FileChooser.h> #include <ewol/widget/meta/FileChooser.h>
#include <ewol/object/Worker.h> #include <ewol/object/Worker.h>
#include <appl/BufferManager.h> #include <appl/BufferManager.h>
@ -33,6 +28,5 @@ namespace appl {
void onCallbackSaveAsValidate(const std::string& _value); void onCallbackSaveAsValidate(const std::string& _value);
void onCallbackCancel(); void onCallbackCancel();
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/Highlight.h> #include <appl/Highlight.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __HIGHLIGHT_H__
#define __HIGHLIGHT_H__
namespace appl { namespace appl {
class Highlight; class Highlight;
@ -21,7 +16,7 @@ namespace appl {
bool notEnded; bool notEnded;
appl::HighlightPattern* patern; appl::HighlightPattern* patern;
}; };
}; }
#include <memory> #include <memory>
#include <etk/os/FSNode.h> #include <etk/os/FSNode.h>
@ -78,12 +73,6 @@ namespace appl {
return true; return true;
}; };
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/HighlightManager.h> #include <appl/HighlightManager.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __HIGHLIGHT_MANAGER_H__
#define __HIGHLIGHT_MANAGER_H__
#include <etk/types.h> #include <etk/types.h>
#include <appl/globalMsg.h> #include <appl/globalMsg.h>
@ -43,8 +38,5 @@ namespace appl {
*/ */
std::vector<std::string> getTypeList(); std::vector<std::string> getTypeList();
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/global.h> #include <appl/global.h>
#include <appl/HighlightPattern.h> #include <appl/HighlightPattern.h>

View File

@ -1,16 +1,11 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#include <appl/Highlight.h> #include <appl/Highlight.h>
#ifndef __HIGHLIGHT_PATTERN_H__
#define __HIGHLIGHT_PATTERN_H__
class HighlightPattern; class HighlightPattern;
#include <appl/GlyphPainting.h> #include <appl/GlyphPainting.h>
@ -89,8 +84,5 @@ namespace appl {
void parseRules(const exml::Element& _child, int32_t _level); void parseRules(const exml::Element& _child, int32_t _level);
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPlugin.h> #include <appl/TextPlugin.h>
#include <appl/TextPluginManager.h> #include <appl/TextPluginManager.h>
#include <appl/debug.h> #include <appl/debug.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_H__
#define __APPL_TEXT_PLUGIN_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -221,7 +216,5 @@ namespace appl {
return false; return false;
} }
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginAutoIndent.h> #include <appl/TextPluginAutoIndent.h>
#include <gale/context/clipBoard.h> #include <gale/context/clipBoard.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_AUTO_INDENT_H__
#define __APPL_TEXT_PLUGIN_AUTO_INDENT_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -28,7 +23,5 @@ namespace appl {
virtual bool onEventEntry(appl::TextViewer& _textDrawer, virtual bool onEventEntry(appl::TextViewer& _textDrawer,
const ewol::event::Entry& _event); const ewol::event::Entry& _event);
}; };
}; }
#endif

View File

@ -1,12 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginCopy.h> #include <appl/TextPluginCopy.h>
#include <gale/context/clipBoard.h> #include <gale/context/clipBoard.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_COPY_H__
#define __APPL_TEXT_PLUGIN_COPY_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -35,7 +30,5 @@ namespace appl {
virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual void onPluginDisable(appl::TextViewer& _textDrawer);
virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName);
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginCtags.h> #include <appl/TextPluginCtags.h>
#include <gale/context/clipBoard.h> #include <gale/context/clipBoard.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_CTAGS_H__
#define __APPL_TEXT_PLUGIN_CTAGS_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -48,7 +43,5 @@ namespace appl {
void onCallbackOpenCtagsOpenFileReturn(const std::string& _value); void onCallbackOpenCtagsOpenFileReturn(const std::string& _value);
void onCallbackOpenCtagsSelectReturn(const std::string& _value); void onCallbackOpenCtagsSelectReturn(const std::string& _value);
}; };
}; }
#endif

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_DATA_H__
#define __APPL_TEXT_PLUGIN_DATA_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -123,7 +118,5 @@ namespace appl {
return; return;
}; };
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginHistory.h> #include <appl/TextPluginHistory.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
#include <appl/TextPluginManager.h> #include <appl/TextPluginManager.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_HISTORY_H__
#define __APPL_TEXT_PLUGIN_HISTORY_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -73,7 +68,5 @@ namespace appl {
void clearRedo(appl::PluginHistoryData& _data); void clearRedo(appl::PluginHistoryData& _data);
void clearUndo(appl::PluginHistoryData& _data); void clearUndo(appl::PluginHistoryData& _data);
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginManager.h> #include <appl/TextPluginManager.h>
#include <appl/debug.h> #include <appl/debug.h>
#include <appl/TextPluginCopy.h> #include <appl/TextPluginCopy.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_MANAGER_H__
#define __APPL_TEXT_PLUGIN_MANAGER_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -117,7 +112,5 @@ namespace appl {
bool onCursorMove(appl::TextViewer& _textDrawer, bool onCursorMove(appl::TextViewer& _textDrawer,
const appl::Buffer::Iterator& _pos); const appl::Buffer::Iterator& _pos);
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginMultiLineTab.h> #include <appl/TextPluginMultiLineTab.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_MULTI_LINE_TAB_H__
#define __APPL_TEXT_PLUGIN_MULTI_LINE_TAB_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -28,8 +23,5 @@ namespace appl {
virtual bool onEventEntry(appl::TextViewer& _textDrawer, virtual bool onEventEntry(appl::TextViewer& _textDrawer,
const ewol::event::Entry& _event); const ewol::event::Entry& _event);
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginRmLine.h> #include <appl/TextPluginRmLine.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_RM_LINE_H__
#define __APPL_TEXT_RM_LINE_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -29,7 +24,5 @@ namespace appl {
virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual void onPluginDisable(appl::TextViewer& _textDrawer);
virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName);
}; };
}; }
#endif

View File

@ -1,12 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/TextPluginSelectAll.h> #include <appl/TextPluginSelectAll.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>

View File

@ -1,14 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __APPL_TEXT_PLUGIN_SELECT_ALL_H__
#define __APPL_TEXT_PLUGIN_SELECT_ALL_H__
#include <etk/types.h> #include <etk/types.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>
#include <appl/Gui/TextViewer.h> #include <appl/Gui/TextViewer.h>
@ -32,7 +27,5 @@ namespace appl {
virtual void onPluginDisable(appl::TextViewer& _textDrawer); virtual void onPluginDisable(appl::TextViewer& _textDrawer);
virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName); virtual bool onReceiveShortCut(appl::TextViewer& _textDrawer, const std::string& _shortCutName);
}; };
}; }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/debug.h> #include <appl/debug.h>
int32_t appl::getLogId() { int32_t appl::getLogId() {

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <appl/global.h> #include <appl/global.h>
#include <appl/globalMsg.h> #include <appl/globalMsg.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>

View File

@ -1,20 +1,13 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#pragma once
#ifndef __TOOLS_GLOBALS_H__
#define __TOOLS_GLOBALS_H__
#include <appl/debug.h> #include <appl/debug.h>
#include <ewol/widget/Sizer.h> #include <ewol/widget/Sizer.h>
namespace globals {
namespace globals
{
void init(); void init();
void UnInit(); void UnInit();
int32_t getNbColoneBorder(); int32_t getNbColoneBorder();
@ -49,9 +42,6 @@ namespace globals
void onCallbackTabulation(const bool& _value); void onCallbackTabulation(const bool& _value);
void onCallbackRounded(const bool& _value); void onCallbackRounded(const bool& _value);
}; };
} }
#endif

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2010, Edouard DUPIN, all right reserved * @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file) * @license GPL v3 (see license file)
*/ */
#include <etk/types.h> #include <etk/types.h>
#include <ewol/ewol.h> #include <ewol/ewol.h>
#include <ewol/object/Object.h> #include <ewol/object/Object.h>

View File

@ -1,11 +1,8 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* * @copyright 2010, Edouard DUPIN, all right reserved
* @copyright 2011, Edouard DUPIN, all right reserved * @license GPL v3 (see license file)
*
* @license BSD v3 (see license file)
*/ */
#ifndef __EWOL_WIDGET_H__ #ifndef __EWOL_WIDGET_H__
#define __EWOL_WIDGET_H__ #define __EWOL_WIDGET_H__