updated to the new ezc api (Generator has three additional parameters now)

master
Tomasz Sowa 2 years ago
parent 2dcfeaa688
commit 2e45cb6ac9

@ -338,9 +338,9 @@ public:
HtmlTextStream out_main_stream;
// text output streams used in ajax requests (send in JSON format to the client)
// in ezc templates you can use [ezc out "stream_name"] keyword
// in ezc templates you can use [ezc frame "stream_name"] or just [frame "stream_name"] keyword
// to switch between streams
Ezc::OutStreams<HtmlTextStream> out_streams;
Ezc::OutStreams<HtmlTextStream, true> out_streams;
// if true the JSON object is generated only from info (out_streams are not used)
// default: false

@ -79,7 +79,7 @@ private:
bool patterns_changed;
Patterns patterns;
TemplatesNotifyFunctions::NotifyStream notify_stream;
Ezc::Generator<TemplatesNotifyFunctions::NotifyStream> generator;
Ezc::Generator<TemplatesNotifyFunctions::NotifyStream, true> generator;
virtual bool Init();
virtual bool SignalReceived();

@ -56,7 +56,7 @@ namespace TemplatesFunctions
typedef Ezc::Functions<HtmlTextStream> EzcFun;
typedef Ezc::Generator<HtmlTextStream> EzcGen;
typedef Ezc::Generator<HtmlTextStream, true, true> EzcGen;
typedef Ezc::FunInfo<HtmlTextStream> Info; // deprecated
template<class RawType>

Loading…
Cancel
Save