44 lines
585 B
C++
Executable File
44 lines
585 B
C++
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2010-2014, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfile_winix_core_cur
|
|
#define headerfile_winix_core_cur
|
|
|
|
#include "request.h"
|
|
#include "session.h"
|
|
#include "mount.h"
|
|
|
|
|
|
namespace Winix
|
|
{
|
|
|
|
|
|
|
|
/*
|
|
current request and session
|
|
*/
|
|
struct Cur
|
|
{
|
|
Request * request;
|
|
Session * session;
|
|
Mount * mount;
|
|
|
|
// those pointers are never null, if there is no a session for the user
|
|
// the 'session' pointer pointers at a special temporary session
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Winix
|
|
|
|
|
|
|
|
#endif
|