Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Inkscape::Preferences::Observer Class Reference

Base class for preference observers. More...

#include <preferences.h>

Inheritance diagram for Inkscape::Preferences::Observer:

List of all members.

Public Member Functions

virtual void notify (Preferences::Entry const &new_val)=0
 Notification about a preference change.
 Observer (Glib::ustring const &path)
 Constructor.

Public Attributes

Glib::ustring const observed_path
 Path which the observer watches.

Private Attributes

void * _data
 additional data used by the implementation while the observer is active

Friends

class Preferences

Detailed Description

Base class for preference observers.

If you want to watch for changes in the preferences, you'll have to derive a class from this one and override the notify() method.

Definition at line 71 of file preferences.h.


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

Generated by  Doxygen 1.6.0   Back to index