[DEV] update to etk buffer remove
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
#include <etk/types.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ewol/ewol.h>
|
||||
#include <etk/Buffer.h>
|
||||
#include <ewol/object/Object.h>
|
||||
#include <ewol/widget/Widget.h>
|
||||
#include <ewol/compositing/Text.h>
|
||||
|
@@ -27,7 +27,6 @@ namespace appl {
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <appl/HighlightPattern.h>
|
||||
#include <appl/GlyphPainting.h>
|
||||
#include <etk/Buffer.h>
|
||||
#include <exml/exml.h>
|
||||
|
||||
namespace appl {
|
||||
|
@@ -18,7 +18,6 @@ class HighlightPattern;
|
||||
#include <vector>
|
||||
#include <regex>
|
||||
#include <exml/exml.h>
|
||||
#include <etk/Buffer.h>
|
||||
|
||||
enum resultFind {
|
||||
HLP_FIND_ERROR,
|
||||
|
@@ -14,16 +14,7 @@
|
||||
namespace appl {
|
||||
int32_t getLogId();
|
||||
};
|
||||
// TODO : Review this problem of multiple intanciation of "std::stringbuf sb"
|
||||
#define APPL_BASE(info,data) \
|
||||
do { \
|
||||
if (info <= etk::log::getLevel(appl::getLogId())) { \
|
||||
std::stringbuf sb; \
|
||||
std::ostream tmpStream(&sb); \
|
||||
tmpStream << data; \
|
||||
etk::log::logStream(appl::getLogId(), info, __LINE__, __class__, __func__, tmpStream); \
|
||||
} \
|
||||
} while(0)
|
||||
#define APPL_BASE(info,data) TK_LOG_BASE(appl::getLogId(),info,data)
|
||||
|
||||
#define APPL_CRITICAL(data) APPL_BASE(1, data)
|
||||
#define APPL_ERROR(data) APPL_BASE(2, data)
|
||||
|
Reference in New Issue
Block a user