gear_mc
 All Classes Namespaces Functions Variables
Functions
gear.xsi.plugin Namespace Reference

Functions

def pluginExists
 PLUGINS. More...
 
def getPluginPath
 Return the path of given plugin name. More...
 
def getPluginFullPath
 Return the full path (including filename) of given plugin name. More...
 

Detailed Description

    This file is part of GEAR_mc.
    GEAR_mc is a fork of Jeremie Passerin's GEAR project.

    GEAR is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/lgpl.html>.

    Author:     Jeremie Passerin    geerem@hotmail.com  www.jeremiepasserin.com
    Fork Author:  Miquel Campos       hello@miqueltd.com  www.miqueltd.com
    Date:       2013 / 08 / 16
Author
Jeremie Passerin, Miquel Campos

Function Documentation

def gear.xsi.plugin.getPluginFullPath (   name)

Return the full path (including filename) of given plugin name.

Parameters
nameString - Plugin Name.
Returns
String - plugin full path. False if plugin wasn't found.
def gear.xsi.plugin.getPluginPath (   name)

Return the path of given plugin name.

Parameters
nameString - Plugin Name.
Returns
String - plugin path. False if plugin wasn't found.
def gear.xsi.plugin.pluginExists (   names,
  all = True 
)

PLUGINS.

PluginExists =========================================== Check if given plugin name exists

Parameters
nameString - Plugin Name.
allBoolean - Return True only if all plugins are found
Returns
Boolean - True if plugin exists