40 lines
617 B
C++
Executable File
40 lines
617 B
C++
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfile_winix_plugins_stats_statssession
|
|
#define headerfile_winix_plugins_stats_statssession
|
|
|
|
#include "core/plugindata.h"
|
|
|
|
|
|
namespace Stats
|
|
{
|
|
|
|
|
|
// session data for the plugin
|
|
struct StatsSession : public PluginDataBase
|
|
{
|
|
// whether this session has been calculated
|
|
bool calculated;
|
|
long last_visited;
|
|
bool nostat; // is nostat parameter
|
|
|
|
StatsSession()
|
|
{
|
|
calculated = false;
|
|
last_visited = -1;
|
|
nostat = false;
|
|
}
|
|
};
|
|
|
|
|
|
} // namespace
|
|
|
|
#endif
|