plugin handler

This commit is contained in:
kremsy 2013-11-09 13:34:36 +01:00
parent 99a754034a
commit 6d794b6f22
2 changed files with 58 additions and 41 deletions

View File

@ -23,10 +23,10 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf> <leaf>
<file leaf-file-name="plugin.php" pinned="false" current="true" current-in-tab="true"> <file leaf-file-name="plugin.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/core/plugin.php"> <entry file="file://$PROJECT_DIR$/core/plugin.php">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="21" column="20" selection-start="307" selection-end="307" vertical-scroll-proportion="0.47536618" vertical-offset="0" max-vertical-offset="2380"> <state line="21" column="20" selection-start="307" selection-end="307" vertical-scroll-proportion="-11.769231" vertical-offset="51" max-vertical-offset="2380">
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -36,7 +36,9 @@
<entry file="file://$PROJECT_DIR$/configs/plugins.ManiaControl.xml"> <entry file="file://$PROJECT_DIR$/configs/plugins.ManiaControl.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="11" column="0" selection-start="363" selection-end="363" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="323"> <state line="11" column="0" selection-start="363" selection-end="363" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="323">
<folding /> <folding>
<marker date="1384000064631" expanded="true" signature="111:311" placeholder="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -59,6 +61,15 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="core.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/core/core.php">
<provider selected="true" editor-type-id="text-editor">
<state line="168" column="13" selection-start="3581" selection-end="3581" vertical-scroll-proportion="-3.9605262" vertical-offset="2555" max-vertical-offset="6613">
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="ManiaControl.php" pinned="false" current="false" current-in-tab="false"> <file leaf-file-name="ManiaControl.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/ManiaControl.php"> <entry file="file://$PROJECT_DIR$/ManiaControl.php">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -68,10 +79,10 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="pluginHandler.php" pinned="false" current="false" current-in-tab="false"> <file leaf-file-name="pluginHandler.php" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/core/pluginHandler.php"> <entry file="file://$PROJECT_DIR$/core/pluginHandler.php">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="28" column="2" selection-start="439" selection-end="439" vertical-scroll-proportion="-18.307692" vertical-offset="0" max-vertical-offset="578"> <state line="32" column="2" selection-start="484" selection-end="484" vertical-scroll-proportion="0.7243675" vertical-offset="0" max-vertical-offset="751">
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -100,10 +111,10 @@
<option value="$PROJECT_DIR$/core/database.ManiaControl.php" /> <option value="$PROJECT_DIR$/core/database.ManiaControl.php" />
<option value="$PROJECT_DIR$/core/manialinkIdHandler.php" /> <option value="$PROJECT_DIR$/core/manialinkIdHandler.php" />
<option value="$PROJECT_DIR$/core/core.ManiaControl.php" /> <option value="$PROJECT_DIR$/core/core.ManiaControl.php" />
<option value="$PROJECT_DIR$/core/pluginHandler.php" />
<option value="$PROJECT_DIR$/core/plugin.php" /> <option value="$PROJECT_DIR$/core/plugin.php" />
<option value="$PROJECT_DIR$/core/core.php" />
<option value="$PROJECT_DIR$/configs/plugins.ManiaControl.xml" /> <option value="$PROJECT_DIR$/configs/plugins.ManiaControl.xml" />
<option value="$PROJECT_DIR$/core/core.php" />
<option value="$PROJECT_DIR$/core/pluginHandler.php" />
</list> </list>
</option> </option>
</component> </component>
@ -170,20 +181,6 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT> </PATH_ELEMENT>
</PATH> </PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="application" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="application" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="plugins" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH> <PATH>
<PATH_ELEMENT> <PATH_ELEMENT>
<option name="myItemId" value="application" /> <option name="myItemId" value="application" />
@ -329,13 +326,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/core/pluginHandler.php">
<provider selected="true" editor-type-id="text-editor">
<state line="28" column="2" selection-start="439" selection-end="439" vertical-scroll-proportion="-18.307692" vertical-offset="0" max-vertical-offset="578">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/core/authentication.php"> <entry file="file://$PROJECT_DIR$/core/authentication.php">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1853"> <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1853">
@ -350,9 +340,39 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/core/core.php"> <entry file="file://$PROJECT_DIR$/ManiaControl.bat">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="158" column="10" selection-start="3332" selection-end="3335" vertical-scroll-proportion="-35.342106" vertical-offset="0" max-vertical-offset="6596"> <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="777">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/ManiaControl.sh">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="777">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/core/plugin.php">
<provider selected="true" editor-type-id="text-editor">
<state line="21" column="20" selection-start="307" selection-end="307" vertical-scroll-proportion="-11.769231" vertical-offset="51" max-vertical-offset="2380">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/configs/plugins.ManiaControl.xml">
<provider selected="true" editor-type-id="text-editor">
<state line="11" column="0" selection-start="363" selection-end="363" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="323">
<folding>
<marker date="1384000064631" expanded="true" signature="111:311" placeholder="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/configs/core.ManiaControl.xml">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="777">
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -364,23 +384,16 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/configs/core.ManiaControl.xml"> <entry file="file://$PROJECT_DIR$/core/core.php">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="777"> <state line="168" column="13" selection-start="3581" selection-end="3581" vertical-scroll-proportion="-3.9605262" vertical-offset="2555" max-vertical-offset="6613">
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/configs/plugins.ManiaControl.xml"> <entry file="file://$PROJECT_DIR$/core/pluginHandler.php">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state line="11" column="0" selection-start="363" selection-end="363" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="323"> <state line="32" column="2" selection-start="484" selection-end="484" vertical-scroll-proportion="0.7243675" vertical-offset="0" max-vertical-offset="751">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/core/plugin.php">
<provider selected="true" editor-type-id="text-editor">
<state line="21" column="20" selection-start="307" selection-end="307" vertical-scroll-proportion="0.47536618" vertical-offset="0" max-vertical-offset="2380">
<folding /> <folding />
</state> </state>
</provider> </provider>

View File

@ -25,5 +25,9 @@ namespace ManiaControl;
public function registerPlugin($plugin){ public function registerPlugin($plugin){
array_push($this->plugins, $plugin); array_push($this->plugins, $plugin);
} }
public function loadPlugins(){
}
} }
?> ?>