From 998ea3cb068a7e25eb367092b813f3ba828bc9ec Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:00:51 +0000 Subject: Utilisateur : Fcolin Date : 3/03/05 Heure : 14:02 Archivé dans $/Bus/Ivy Commentaire: Passage a la lib PCRE (vss 8) --- Bus/Ivy/IvyApplication.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Bus/Ivy/IvyApplication.h') diff --git a/Bus/Ivy/IvyApplication.h b/Bus/Ivy/IvyApplication.h index e39e4a7..906e16c 100644 --- a/Bus/Ivy/IvyApplication.h +++ b/Bus/Ivy/IvyApplication.h @@ -6,7 +6,11 @@ #include "BufferedSocket.h" #include "Ivy.h" -class Regexp; +#ifdef USE_PCRE +#include "pcre.h" +#else +#include "Regexp.h" +#endif ///////////////////////////////////////////////////////////////////////////// // IvyApplication command target @@ -58,7 +62,12 @@ protected: bool AppConnectedCallbackCalled; Ivy *bus; /* liste des souscriptions remote */ - typedef vector RegexpVector; +#ifdef USE_PCRE + static const int max_subexp = 200; + typedef vector RegexpVector; +#else + typedef vector RegexpVector; +#endif RegexpVector regexp_in; friend class Ivy; -- cgit v1.1