aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flbase.h')
-rw-r--r--externals/grill/flext/source/flbase.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flbase.h b/externals/grill/flext/source/flbase.h
index 79128e53..96a89d30 100644
--- a/externals/grill/flext/source/flbase.h
+++ b/externals/grill/flext/source/flbase.h
@@ -117,10 +117,13 @@ class FLEXT_EXT flext_obj:
//! Virtual function called at creation time (but after the constructor)
// this also guarantees that there are no instances of flext_obj
- virtual bool Init() = 0;
+ virtual bool Init();
+
+ //! Virtual function called after Init() has succeeded
+ virtual bool Finalize();
//! Virtual function called at destruction (before the destructor)
- virtual void Exit() {}
+ virtual void Exit();
//! @} FLEXT_O_CREATION