2010-08-13 22:04:57 +02:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
|
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2011-01-23 15:15:30 +01:00
|
|
|
#ifndef headerfile_winix_functions_template
|
|
|
|
#define headerfile_winix_functions_template
|
2010-08-13 22:04:57 +02:00
|
|
|
|
|
|
|
#include "functionbase.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Fun
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class Template : public FunctionBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
Template();
|
|
|
|
bool HasAccess();
|
|
|
|
void MakePost();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2010-11-21 01:19:17 +01:00
|
|
|
std::wstring html_template;
|
|
|
|
void CreateTemplateFileName(const std::wstring & index_str);
|
2010-08-14 16:45:25 +02:00
|
|
|
void ChangeTemplate(Item & item);
|
|
|
|
void PutLog(Item & item);
|
2010-08-13 22:04:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|