Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 2, 2016, 11:15:18 AM (9 years ago)
Author:
landauf
Message:

added unittest for plugin loading and unloading

Location:
code/trunk/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/Core.h

    r10624 r11012  
    4545
    4646#include <string>
     47#include <list>
    4748#include "util/DestructionHelper.h"
    4849#include "util/Singleton.h"
  • code/trunk/src/libraries/core/singleton/ScopeManager.h

    r10542 r11012  
    7171            void removeListener(ScopeListener* listener, ScopeID::Value scope);
    7272
     73            /** Returns all registered listeners for a given scope. */
     74            const std::set<ScopeListener*>& getListeners(ScopeID::Value scope)
     75                { return this->listeners_[scope]; }
     76
    7377        private:
    7478            void activateListenersForScope(ScopeID::Value scope);
Note: See TracChangeset for help on using the changeset viewer.