From 3ea92ec324ed3796497b89fbfff5ea5c44e18455 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 16 Aug 2006 14:07:58 +0000 Subject: [PATCH] new file git-svn-id: svn://localhost/ardour2/trunk@831 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/destructible.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libs/pbd/pbd/destructible.h diff --git a/libs/pbd/pbd/destructible.h b/libs/pbd/pbd/destructible.h new file mode 100644 index 0000000000..126bd04bba --- /dev/null +++ b/libs/pbd/pbd/destructible.h @@ -0,0 +1,20 @@ +#ifndef __pbd_destructible_h__ +#define __pbd_destructible_h__ + +#include + +namespace PBD { + +class Destructible { + public: + Destructible() {} + virtual ~Destructible () {} + + sigc::signal GoingAway; + + void drop_references () const { GoingAway(); } +}; + +} + +#endif /* __pbd_destructible_h__ */