1#ifndef ENGINE_FAVORITES_H
2#define ENGINE_FAVORITES_H
34 virtual void Add(
const NETADDR *pAddrs,
int NumAddrs) = 0;
Definition: favorites.h:22
bool m_AllowPing
Definition: favorites.h:26
int m_NumAddrs
Definition: favorites.h:24
Definition: favorites.h:14
virtual void Add(const NETADDR *pAddrs, int NumAddrs)=0
static void ConfigSaveCallback(IConfigManager *pConfigManager, void *pUserData)
Definition: favorites.cpp:257
virtual void AllowPing(const NETADDR *pAddrs, int NumAddrs, bool AllowPing)=0
virtual ~IFavorites()
Definition: favorites.h:29
virtual TRISTATE IsPingAllowed(const NETADDR *pAddrs, int NumAddrs) const =0
virtual void AllEntries(const CEntry **ppEntries, int *pNumEntries)=0
virtual void OnConfigSave(IConfigManager *pConfigManager)=0
virtual void Remove(const NETADDR *pAddrs, int NumAddrs)=0
virtual TRISTATE IsFavorite(const NETADDR *pAddrs, int NumAddrs) const =0
@ MAX_SERVER_ADDRESSES
Definition: protocol.h:86
std::unique_ptr< IFavorites > CreateFavorites()
Definition: favorites.cpp:262
#define MACRO_INTERFACE(Name)
Definition: kernel.h:25
TRISTATE
Definition: types.h:7