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 36 of file configlistener.h.

Constructor & Destructor Documentation

◆ ConfigListener()

ConfigListener::ConfigListener ( )
inline

Definition at line 39 of file configlistener.h.

References A_DELETE_COPY.

40  { }

◆ ~ConfigListener()

virtual ConfigListener::~ConfigListener ( )
inlinevirtual

Destructor.

Definition at line 47 of file configlistener.h.

References optionChanged().

48  { }

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 Being, ActorManager, LocalPlayer, Map, ChatWindow, NpcDialog, TouchManager, Theme, MapLayer, Viewport, Viewport, WhoIsOnline, WindowMenu, Client, Minimap, EventsManager, AvatarListBox, SoundManager, EmulateGuildTab, GuiConfigListener, GuildTab, and PartyTab.

Referenced by ~ConfigListener().


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