updated: to the new EZC api (ezc functions can be methods of some special objects)

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1012 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2015-06-14 18:24:08 +00:00
parent d8451ceaa0
commit f54df8d600
20 changed files with 948 additions and 836 deletions

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2008-2014, Tomasz Sowa
* Copyright (c) 2008-2015, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -59,6 +59,10 @@ public:
// and then we are deleting 'how_many_del' patterns
void SetWhenDelete(size_t when_delete, size_t how_many_del);
// remembering a pointer to ezc objects
// this ezc objects (functions) will be cached in patterns
void SetEzcObjects(Ezc::Objects<HtmlTextStream> * obj);
// remembering a pointer to ezc functions
// this functions (pointers to them) will be cached in patterns
void SetEzcFunctions(TemplatesFunctions::EzcFun * fun);
@@ -140,6 +144,9 @@ private:
// can be null
Ezc::Blocks * ezc_blocks;
// can be null
Ezc::Objects<HtmlTextStream> * ezc_obj;
// parser for patterns
Ezc::PatternParser pattern_parser;