From 0c6442aa2e7dbf28f99a76840e005533d0d90b11 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) --- Ivy/IvyApplication.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Ivy') diff --git a/Ivy/IvyApplication.h b/Ivy/IvyApplication.h index e39e4a7..906e16c 100644 --- a/Ivy/IvyApplication.h +++ b/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