Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2015, 10:22:59 AM (9 years ago)
Author:
landauf
Message:

don't store scope in ScopeListener - instead register the listener in ScopeManager for a specific scope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/singleton/Scope.h

    r10513 r10514  
    7171
    7272        protected:
    73             ScopeListener(ScopeID::Value scope) : scope_(scope), bActivated_(false) { }
     73            ScopeListener() : bActivated_(false) { }
    7474            virtual ~ScopeListener() { }
    7575
     
    7979            virtual void deactivated() = 0;
    8080
    81         public:
    82             inline ScopeID::Value getScope() const
    83                 { return this->scope_; }
    84 
    8581        private:
    86             ScopeID::Value scope_; //!< Store the scope to unregister on destruction
    8782            bool bActivated_;
    8883    };
Note: See TracChangeset for help on using the changeset viewer.