diff options
Diffstat (limited to 'src/context/context.h')
-rw-r--r-- | src/context/context.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/context/context.h b/src/context/context.h index f0dbff72b..165c35c58 100644 --- a/src/context/context.h +++ b/src/context/context.h @@ -658,6 +658,7 @@ public: * the ContextObj objects have been restored). */ class ContextNotifyObj { + /** * Context is our friend so that when the Context is deleted, any * remaining ContextNotifyObj can be removed from the Context list. @@ -686,6 +687,15 @@ class ContextNotifyObj { */ ContextNotifyObj**& prev() throw() { return d_ppCNOprev; } +protected: + + /** + * This is the method called to notify the object of a pop. It must be + * implemented by the subclass. It is protected since context is out + * friend. + */ + virtual void contextNotifyPop() = 0; + public: /** @@ -703,12 +713,6 @@ public: */ virtual ~ContextNotifyObj() throw(AssertionException); - /** - * This is the method called to notify the object of a pop. It must be - * implemented by the subclass. - */ - virtual void notify() = 0; - };/* class ContextNotifyObj */ inline void ContextObj::makeCurrent() throw(AssertionException) { |