new file
git-svn-id: svn://localhost/ardour2/trunk@831 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1ae0948138
commit
3ea92ec324
20
libs/pbd/pbd/destructible.h
Normal file
20
libs/pbd/pbd/destructible.h
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#ifndef __pbd_destructible_h__
|
||||||
|
#define __pbd_destructible_h__
|
||||||
|
|
||||||
|
#include <sigc++/signal.h>
|
||||||
|
|
||||||
|
namespace PBD {
|
||||||
|
|
||||||
|
class Destructible {
|
||||||
|
public:
|
||||||
|
Destructible() {}
|
||||||
|
virtual ~Destructible () {}
|
||||||
|
|
||||||
|
sigc::signal<void> GoingAway;
|
||||||
|
|
||||||
|
void drop_references () const { GoingAway(); }
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* __pbd_destructible_h__ */
|
Loading…
Reference in New Issue
Block a user