Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 12, 2015, 4:10:02 PM (10 years ago)
Author:
landauf
Message:

it's now possible to define required plugins in the level definition (in XML)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/module/PluginManager.h

    r10552 r10580  
    4848            void findPlugins();
    4949
    50             static void loadPlugin(const std::string& name);
    51             static void unloadPlugin(const std::string& name);
     50            void referencePlugin(const std::string& name);
     51            void dereferencePlugin(const std::string& name);
     52
     53            // console commands
     54            void loadPlugin(const std::string& name);
     55            void unloadPlugin(const std::string& name);
    5256
    5357        private:
    5458            std::map<std::string, Plugin*> plugins_;
     59            std::map<std::string, PluginReference*> references_; // references that were created by console command
    5560
    5661            static PluginManager* singletonPtr_s;
Note: See TracChangeset for help on using the changeset viewer.