LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
IHaveSettings Class Referenceabstract

Interface for plugins that have user-configurable settings. More...

#include "ihavesettings.h"

Public Member Functions

virtual LeechCraft::Util::XmlSettingsDialog_ptr GetSettingsDialog () const =0
 Gets the settings dialog manager object from the plugin. More...
 
virtual ~IHaveSettings ()
 Virtual destructor. More...
 

Detailed Description

Interface for plugins that have user-configurable settings.

Plugins that have user-configurable settings should implement this interface if they want to appear in a common settings configuration dialog.

Definition at line 50 of file ihavesettings.h.

Constructor & Destructor Documentation

◆ ~IHaveSettings()

virtual IHaveSettings::~IHaveSettings ( )
inlinevirtual

Virtual destructor.

Definition at line 66 of file ihavesettings.h.

Member Function Documentation

◆ GetSettingsDialog()

virtual LeechCraft::Util::XmlSettingsDialog_ptr IHaveSettings::GetSettingsDialog ( ) const
pure virtual

Gets the settings dialog manager object from the plugin.

The returned XmlSettingsDialog would be integrated into common settings dialog where user can configure all the plugins that provide this interface.

Returns
The XmlSettingsDialog object that manages the settings dialog of the plugin.

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