some work ...

This commit is contained in:
Edouard Dupin 2011-07-26 17:25:45 +02:00
parent 4da853c367
commit d92945717d
8 changed files with 40 additions and 47 deletions

View File

@ -159,9 +159,9 @@ CXXFILES+= tools/AL/AL_Mutex.cpp \
tools/MsgBroadcast/AccelKey.cpp \
tools/charset/charsetTable.cpp \
tools/charset/charset.cpp \
tools/EdnRegExp/EdnRegExp.cpp \
tools/NameSpaceEdn/File.cpp \
tools/NameSpaceEdn/String.cpp
tools/NameSpaceEdn/String.cpp \
tools/NameSpaceEdn/RegExp.cpp
# Gui:
CXXFILES+= CustumWidget/BufferView/BufferView.cpp \

View File

@ -29,6 +29,7 @@
#include "BufferText.h"
#include "toolsMemory.h"
#include "Edn.h"
#include "RegExp.h"
#undef __class__
#define __class__ "BufferText"
@ -1145,7 +1146,6 @@ void BufferText::AddChar(char * UTF8data)
UpdateWindowsPosition();
}
#include "EdnRegExp.h"
int32_t BufferText::FindLine(Edn::String &data)
{

View File

@ -29,7 +29,7 @@
class HighlightPattern;
#include "Edn.h"
#include "EdnRegExp.h"
#include "RegExp.h"
#include "Colorize.h"
#include "EdnVectorBin.h"
#include "tinyxml.h"

View File

@ -28,17 +28,8 @@
#include "toolsMemory.h"
#include "EdnVectorBin.h"
#ifndef __EDN_H__
#define __EDN_H__
#define _IN_NAMESPACE_EDN_ (plop)
namespace Edn
{
#include "String.h"
#include "File.h"
}
#undef IN_NAMESPACE_EDN
#endif

View File

@ -23,11 +23,11 @@
*******************************************************************************
*/
#ifndef __EDN__FILE_H__
#define __EDN__FILE_H__
#ifndef _IN_NAMESPACE_EDN_
# error This will be include only in "edn.h"
#else
namespace Edn
{
class File
{
public:
@ -48,6 +48,7 @@ class File
Edn::String m_shortFilename;
int32_t m_lineNumberOpen;
};
}
#endif

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* @file EdnRegExp.cpp
* @file RegExp.cpp
* @brief Editeur De N'ours : Regular expression annalyser (sources)
* @author Edouard DUPIN
* @date 04/04/2011
@ -26,7 +26,7 @@
#include "tools_debug.h"
#include "tools_globals.h"
#include "toolsMemory.h"
#include "EdnRegExp.h"
#include "RegExp.h"
// internal define to permit to have all neeed system

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* @file EdnRegExp.h
* @file RegExp.h
* @brief Editeur De N'ours : Regular expression annalyser (header)
* @author Edouard DUPIN
* @date 04/04/2011

View File

@ -22,11 +22,11 @@
*
*******************************************************************************
*/
#ifndef __END__STRING_H__
#define __END__STRING_H__
#ifndef _IN_NAMESPACE_EDN_
# error This will be include only in "edn.h"
#else
namespace Edn
{
class String
{
public:
@ -77,6 +77,7 @@
};
void TestUntaire_String(void);
}
#endif