2008-12-30 02:05:03 +01:00
|
|
|
/*
|
2010-02-28 01:08:10 +01:00
|
|
|
* This file is a part of Winix
|
2008-12-30 02:05:03 +01:00
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
2010-02-28 22:33:06 +01:00
|
|
|
* Copyright (c) 2008-2010, Tomasz Sowa
|
2008-12-30 02:05:03 +01:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "templates.h"
|
2009-04-21 22:50:55 +02:00
|
|
|
#include "../core/request.h"
|
2010-05-20 20:28:19 +02:00
|
|
|
#include "../core/version.h"
|
2009-04-21 22:50:55 +02:00
|
|
|
|
|
|
|
|
2008-12-30 02:05:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
namespace TemplatesFunctions
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
void sys_ver_major(Info & i)
|
|
|
|
{
|
2010-05-20 20:28:19 +02:00
|
|
|
i.out << WINIX_VER_MAJOR;
|
2008-12-30 02:05:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void sys_ver_minor(Info & i)
|
|
|
|
{
|
2010-05-20 20:28:19 +02:00
|
|
|
i.out << WINIX_VER_MINOR;
|
2008-12-30 02:05:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void sys_ver_revision(Info & i)
|
|
|
|
{
|
2010-05-20 20:28:19 +02:00
|
|
|
i.out << WINIX_VER_REVISION;
|
2008-12-30 02:05:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace TemplatesFunctions
|
|
|
|
|
|
|
|
|