Plugin Creation Tutorial

From MiOS
(Difference between revisions)
Jump to: navigation, search
(The complete plugin creation tutorial)
Line 1: Line 1:
= Plugin structure<br> =
+
= Plugin structure<br> =
  
A Luup plugin is composed of several types of files:
+
A Luup plugin is composed of several types of files:  
  
*One device description file: D_GenericPlugin.xml
+
*One device description file: D_GenericPlugin.xml  
*Zero or more service description files: S_GenericPlugin.xml
+
*Zero or more service description files: S_GenericPlugin.xml  
*One device interface file: D_GenericPlugin.json
+
*One device interface file: D_GenericPlugin.json  
*One device implementation file: I_GenericPlugin.xml
+
*One device implementation file: I_GenericPlugin.xml  
*Zero or more Lua files: L_GenericPlugin.xml
+
*Zero or more Lua files: L_GenericPlugin.xml  
 
*Zero or more JavaScript files:&nbsp;J_GenericPlugin.xml
 
*Zero or more JavaScript files:&nbsp;J_GenericPlugin.xml

Revision as of 13:17, 2 February 2011

Plugin structure

A Luup plugin is composed of several types of files:

  • One device description file: D_GenericPlugin.xml
  • Zero or more service description files: S_GenericPlugin.xml
  • One device interface file: D_GenericPlugin.json
  • One device implementation file: I_GenericPlugin.xml
  • Zero or more Lua files: L_GenericPlugin.xml
  • Zero or more JavaScript files: J_GenericPlugin.xml
Personal tools