aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/auto_delete.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/common/auto_delete.hpp')
-rw-r--r--include/cru/common/auto_delete.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/cru/common/auto_delete.hpp b/include/cru/common/auto_delete.hpp
deleted file mode 100644
index ae66f7bf..00000000
--- a/include/cru/common/auto_delete.hpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#pragma once
-#include "base.hpp"
-
-namespace cru {
-// A instance of class implementing this interface is able to
-// delete itseft when program exits. Such as IGraphFactory,
-// IUiApplication.
-struct IAutoDelete : virtual Interface {
- // Get whether it will delete itself when program exits.
- virtual bool IsAutoDelete() const = 0;
- // Set whether it will delete itself when program exits.
- virtual void SetAutoDelete(bool value) = 0;
-};
-} // namespace cru