Files
winix/functions/mount.cpp
Tomasz Sowa 1d6ff73aad added: new winix function: mount
displaying all mount points
changed: struct Cur has now 'mount' pointer
         we should not use system->mounts.pmount now
         (it will be removed in the future)
changed: all mount point parameters are now propagated to childs mount points
         (if not defined there)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@745 e52654a7-88a9-db11-a3e9-0013d4bc506e
2011-06-21 21:24:49 +00:00

42 lines
416 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2011, Tomasz Sowa
* All rights reserved.
*
*/
#include "mount.h"
#include "functions.h"
namespace Fun
{
Mount::Mount()
{
fun.url = L"mount";
}
bool Mount::HasAccess()
{
if( cur->session->puser && cur->session->puser->super_user )
return true;
return false;
}
void Mount::MakeGet()
{
}
} // namespace