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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user