mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
new file
git-svn-id: svn://localhost/ardour2/trunk@831 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1ae0948138
commit
3ea92ec324
1 changed files with 20 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue