TrackManiaControl/application/core/pluginHandler.php

33 lines
478 B
PHP
Raw Normal View History

2013-11-09 11:06:04 +01:00
<?php
2013-11-09 12:20:38 +01:00
namespace ManiaControl;
2013-11-09 11:06:04 +01:00
/**
* Class handles plugins
*
* @author Lukas Kremsmayr and steeffeen
*/
class PluginHandler {
2013-11-09 13:29:18 +01:00
/**
* Private properties
*/
private $mc;
private $plugins;
2013-11-09 11:06:04 +01:00
2013-11-09 13:29:18 +01:00
public function __construct($mc){
2013-11-09 19:26:57 +01:00
$this->mc = $mc;
2013-11-09 13:29:18 +01:00
$this->plugins = array();
}
public function registerPlugin($plugin){
array_push($this->plugins, $plugin);
}
2013-11-09 13:34:36 +01:00
public function loadPlugins(){
}
2013-11-09 11:06:04 +01:00
}
?>