summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/statefuldestructible.h
blob: 708c10fc8e513d5066159a45ca34888fb1a631ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __pbd_stateful_destructible_h__
#define __pbd_stateful_destructible_h__

#include <pbd/stateful.h>
#include <pbd/destructible.h>

namespace PBD {

class StatefulDestructible : public Stateful, public Destructible 
{
};

/* be very very careful using this class. it does not inherit from sigc::trackable and thus
   should only be used in multiple-inheritance situations involving another type
   that does inherit from sigc::trackable (or sigc::trackable itself)
*/

class StatefulThingWithGoingAway : public Stateful, public ThingWithGoingAway
{
};

}


#endif /* __pbd_stateful_destructible_h__ */