Browse Source

Add PLUGIN tag to schema

Serj Kalichev 11 years ago
parent
commit
7b37a2ae18
1 changed files with 13 additions and 0 deletions
  1. 13 0
      clish.xsd

+ 13 - 0
clish.xsd

@@ -19,6 +19,7 @@
     <xs:element name="VAR" type="var_t"/>
     <xs:element name="WATCHDOG" type="wdog_t"/>
     <xs:element name="HOTKEY" type="hotkey_t"/>
+    <xs:element name="PLUGIN" type="plugin_t"/>
  
     <!--
 ***********************************************************
@@ -50,6 +51,7 @@
             <xs:element ref="VAR" minOccurs="0" maxOccurs="unbounded"/>
             <xs:element ref="WATCHDOG" minOccurs="0" maxOccurs="1"/>
             <xs:element ref="HOTKEY" minOccurs="0" maxOccurs="unbounded"/>
+            <xs:element ref="PLUGIN" minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
     </xs:complexType>
     <!--
@@ -507,4 +509,15 @@
         <xs:attribute name="cmd" type="xs:string" use="required"/>
     </xs:complexType>
 
+<!--
+*******************************************************
+* <PLUGIN> is used to dynamically load plugins
+*
+********************************************************
+-->
+    <xs:complexType name="plugin_t">
+        <xs:attribute name="file" type="xs:string" use="required"/>
+        <xs:attribute name="name" type="xs:string" use="optional"/>
+    </xs:complexType>
+
 </xs:schema>