updated: to the new Ezc API

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@974 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2014-10-18 18:12:04 +00:00
parent 8196fb77d1
commit 5266a7e4e5
26 changed files with 864 additions and 676 deletions

View File

@@ -221,7 +221,14 @@ void NotifyThread::SendMail()
generator.RecognizeSpecialChars(true);
generator.TrimWhite(true);
generator.SkipNewLine(true);
generator.Generate(notify_stream, *pat, TemplatesNotifyFunctions::ezc_functions);
/*
* !! IMPROVE ME
* add blocks and variables
* hmm may they are not needed here?
*/
generator.SetFunctions(TemplatesNotifyFunctions::ezc_functions);
generator.SetPattern(*pat);
generator.Generate(notify_stream);
SendMail(TemplatesNotifyFunctions::notify_user_msg.email, notify_stream.Str());
}