ManaPlus
Public Member Functions
ConfigListener Class Referenceabstract

#include <configlistener.h>

Inheritance diagram for ConfigListener:
ActorManager AvatarListBox Being ChatWindow Client EmulateGuildTab EventsManager GuiConfigListener GuildTab Map MapLayer Minimap NpcDialog PartyTab SoundManager Theme TouchManager Viewport Viewport WhoIsOnline WindowMenu

Public Member Functions

 ConfigListener ()
 
virtual ~ConfigListener ()
 
virtual void optionChanged (const std::string &name)=0
 

Detailed Description

The listener interface for receiving notifications about changes to configuration options.

Definition at line 37 of file configlistener.h.

Constructor & Destructor Documentation

◆ ConfigListener()

ConfigListener::ConfigListener ( )
inline

Definition at line 40 of file configlistener.h.

41  { }

◆ ~ConfigListener()

virtual ConfigListener::~ConfigListener ( )
inlinevirtual

Destructor.

Definition at line 48 of file configlistener.h.

49  { }

Member Function Documentation

◆ optionChanged()

virtual void ConfigListener::optionChanged ( const std::string &  name)
pure virtual

Called when an option changed. The config listener will have to be registered to the option name first.

Implemented in SoundManager, MapLayer, Map, TouchManager, PartyTab, GuildTab, EmulateGuildTab, AvatarListBox, LocalPlayer, Being, Viewport, Client, Viewport, GuiConfigListener, WhoIsOnline, NpcDialog, Minimap, ChatWindow, WindowMenu, Theme, EventsManager, and ActorManager.


The documentation for this class was generated from the following file: