winix/plugins/stats/bot.h

45 lines
516 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2010-2014, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_plugins_stats_bot
#define headerfile_winix_plugins_stats_bot
namespace Winix
{
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
} // namespace Winix
#endif