2010-07-27 22:41:56 +02:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
|
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2010-09-30 00:41:34 +02:00
|
|
|
#ifndef headerfile_winix_plugins_stats_statssession
|
|
|
|
#define headerfile_winix_plugins_stats_statssession
|
2010-07-27 22:41:56 +02:00
|
|
|
|
|
|
|
#include "core/plugindata.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Stats
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
// session data for the plugin
|
2010-08-10 18:12:50 +02:00
|
|
|
struct StatsSession : public PluginDataBase
|
2010-07-27 22:41:56 +02:00
|
|
|
{
|
|
|
|
// whether this session has been calculated
|
|
|
|
bool calculated;
|
|
|
|
long last_visited;
|
|
|
|
|
2010-08-10 18:12:50 +02:00
|
|
|
StatsSession()
|
2010-07-27 22:41:56 +02:00
|
|
|
{
|
|
|
|
calculated = false;
|
|
|
|
last_visited = -1;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|