41 lines
450 B
C
41 lines
450 B
C
|
/*
|
||
|
* This file is a part of Winix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2010, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef headerfilecmsluplugin_stats_bot
|
||
|
#define headerfilecmsluplugin_stats_bot
|
||
|
|
||
|
|
||
|
namespace Stats
|
||
|
{
|
||
|
|
||
|
|
||
|
|
||
|
struct Bot
|
||
|
{
|
||
|
void SetBrowserName(const char * name);
|
||
|
|
||
|
bool IsGoogle();
|
||
|
bool IsYahoo();
|
||
|
|
||
|
|
||
|
|
||
|
private:
|
||
|
|
||
|
const char * browser_name;
|
||
|
|
||
|
bool BrowserNameHas(const char * name);
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
} // namespace
|
||
|
|
||
|
#endif
|