2010-08-10 18:12:50 +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_bot
|
|
|
|
#define headerfile_winix_plugins_stats_bot
|
2010-08-10 18:12:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
namespace Stats
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct Bot
|
|
|
|
{
|
|
|
|
void SetBrowserName(const char * name);
|
|
|
|
|
|
|
|
bool IsGoogle();
|
|
|
|
bool IsYahoo();
|
2010-08-28 23:19:30 +02:00
|
|
|
bool IsBing();
|
2010-08-10 18:12:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
const char * browser_name;
|
|
|
|
|
|
|
|
bool BrowserNameHas(const char * name);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|