Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11012


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

added unittest for plugin loading and unloading

Location:
code/trunk
Files:
9 added
3 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);
  • code/trunk/test/CMakeLists.txt

    r10188 r11012  
    6767ADD_SUBDIRECTORY(util)
    6868ADD_SUBDIRECTORY(core)
     69ADD_SUBDIRECTORY(core_plugin)
Note: See TracChangeset for help on using the changeset viewer.