changed: html templates are a part of winix now and the user can provide special html templates for its site added: locales added: html templates are using HtmlFilter now (locales) changed: now we have html templates for each language git-svn-id: svn://ttmath.org/publicrep/winix/trunk@560 e52654a7-88a9-db11-a3e9-0013d4bc506e
41 lines
851 B
C++
Executable File
41 lines
851 B
C++
Executable File
/*
|
|
* This file is a part of CMSLU -- Content Management System like Unix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfilecmslutemplatesmisc
|
|
#define headerfilecmslutemplatesmisc
|
|
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
#include "localefilter.h"
|
|
#include "ezc.h"
|
|
|
|
|
|
|
|
|
|
namespace TemplatesMisc
|
|
{
|
|
|
|
typedef std::vector<std::vector<Ezc::Pattern> > Patterns;
|
|
|
|
|
|
|
|
// those functions from here are used in the second thread too
|
|
|
|
void Read(Patterns & patterns, size_t pat, LocaleFilter & locale_filter, const std::string & dir, const char * file, bool delete_white = false);
|
|
void Read(Patterns & patterns, size_t pat, LocaleFilter & locale_filter, const char * file, bool delete_white = false);
|
|
void ClearPatterns(Patterns & patterns, size_t len);
|
|
|
|
|
|
|
|
} // namespace TemplatesMisc
|
|
|
|
#endif
|
|
|