41 lines
471 B
C++
Executable File
41 lines
471 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_bot
|
|
#define headerfile_winix_plugins_stats_bot
|
|
|
|
|
|
namespace Stats
|
|
{
|
|
|
|
|
|
|
|
struct Bot
|
|
{
|
|
void SetBrowserName(const char * name);
|
|
|
|
bool IsGoogle();
|
|
bool IsYahoo();
|
|
bool IsBing();
|
|
|
|
|
|
private:
|
|
|
|
const char * browser_name;
|
|
|
|
bool BrowserNameHas(const char * name);
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
#endif
|