changed: mount points

mount type and mount fs are of type 'int' now
they can be added by plugins


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@652 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-09-12 23:33:27 +00:00
parent f48f08a98b
commit 23aedd68b0
36 changed files with 979 additions and 730 deletions

View File

@@ -238,13 +238,13 @@ void Functions::SetDefaultFunctionForDir()
}
if( system->mounts.pmount->type == Mount::thread )
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
{
request->function = &fun_thread;
log << log3 << "Content: default function: " << request->function->fun.url << logend;
}
else
if( system->mounts.pmount->type == Mount::ticket )
if( system->mounts.pmount->type == system->mounts.MountTypeTicket() )
{
request->function = &fun_ticket;
log << log3 << "Content: default function: " << request->function->fun.url << logend;