diff options
Diffstat (limited to 'arts/modules/common/env_item_impl.h')
-rw-r--r-- | arts/modules/common/env_item_impl.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arts/modules/common/env_item_impl.h b/arts/modules/common/env_item_impl.h new file mode 100644 index 00000000..dbdca1f9 --- /dev/null +++ b/arts/modules/common/env_item_impl.h @@ -0,0 +1,28 @@ + +#ifndef env_item_impl_h +#define env_item_impl_h + +#include "artsmodulescommon.h" +#include "weakreference.h" + +namespace Arts { +namespace Environment { +typedef WeakReference<Container> Container_wref; +class Item_impl : virtual public Item_skel { +protected: + Container_wref _parent; + bool _active; + +public: + Item_impl(); + ~Item_impl(); + + bool active(); + Container parent(); + void setContainer(Container container); +}; +} +} + + +#endif |