The Plugin XML File

Here's the XML:

<library path="lib/libpolygon_plugins"> 
  <class type="polygon_plugins::Triangle" base_class_type="polygon_base::RegularPolygon"> 
    <description>This is a triangle plugin.</description> 
  </class> 
  <class type="polygon_plugins::Square" base_class_type="polygon_base::RegularPolygon"> 
    <description>This is a square plugin.</description> 
  </class> 
</library> 

This is where the library tag provides the relative path of the library that contains the plugins. Similarly, the class tag declares a plugin that will be exported from the plugins library.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.129.19