mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
28 lines
516 B
C++
28 lines
516 B
C++
|
//
|
||
|
// Observer.hh for pekwm
|
||
|
// Copyright © 2009 Claes Nästén <me@pekdon.net>
|
||
|
//
|
||
|
// This program is licensed under the GNU GPL.
|
||
|
// See the LICENSE file for more information.
|
||
|
//
|
||
|
|
||
|
#ifndef _OBSERVER_HH_
|
||
|
#define _OBSERVER_HH_
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
#include "config.h"
|
||
|
#endif // HAVE_CONFIG_H
|
||
|
|
||
|
class Observable;
|
||
|
class Observation;
|
||
|
|
||
|
class Observer {
|
||
|
public:
|
||
|
Observer(void) { }
|
||
|
virtual ~Observer(void) { }
|
||
|
|
||
|
virtual void notify(Observable *observable, Observation *observation) { }
|
||
|
};
|
||
|
|
||
|
#endif // _OBSERVER_HH_
|