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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user