added a new winix function "vim" - an editor based on the WYMeditor

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@673 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-11-04 16:46:19 +00:00
parent 7cf8d5d2d3
commit e6679a3192
23 changed files with 442 additions and 88 deletions

View File

@@ -166,7 +166,7 @@ void Functions::Add(FunctionBase & fun)
void Functions::Create()
void Functions::CreateFunctions()
{
Add(fun_adduser);
Add(fun_cat);
@@ -198,11 +198,28 @@ void Functions::Create()
Add(fun_upload);
Add(fun_uptime);
Add(fun_who);
Add(fun_vim);
plugin.Call(WINIX_CREATE_FUNCTIONS);
}
void Functions::InitFunctions()
{
Table::iterator i = table.begin();
for( ; i!=table.end() ; ++i)
i->second->Init();
}
void Functions::Init()
{
CreateFunctions();
InitFunctions();
}
void Functions::Parse()
{
function_parser.Parse(request, db, this, system);