diff options
author | Jim Carroll <thecarrolls@jiminger.com> | 2011-04-14 09:58:44 -0400 |
---|---|---|
committer | Jim Carroll <thecarrolls@jiminger.com> | 2011-04-14 10:04:46 -0400 |
commit | 66683a8f2f221c2705b24375f9da7d54503b38c5 (patch) | |
tree | 9e095da7fec21659e19256be4596a74879da549b | |
parent | 304bf0d4dbd61a9824587439f90e22e4fa0a5c19 (diff) |
Removed modest attempt to introduce an industry standard to coding naming conventions. :)
-rw-r--r-- | xbmc/addons/Addon.cpp | 2 | ||||
-rw-r--r-- | xbmc/addons/IAddon.h | 2 | ||||
-rw-r--r-- | xbmc/interfaces/python/XBPyThread.cpp | 2 | ||||
-rw-r--r-- | xbmc/interfaces/python/XBPython.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/addons/Addon.cpp b/xbmc/addons/Addon.cpp index f37a385cab..d682126b4c 100644 --- a/xbmc/addons/Addon.cpp +++ b/xbmc/addons/Addon.cpp @@ -666,7 +666,7 @@ TYPE CAddonLibrary::SetAddonType() return ADDON_UNKNOWN; } -CStdString getXbmcApiVersionDependency(ADDON::AddonPtr addon) +CStdString GetXbmcApiVersionDependency(ADDON::AddonPtr addon) { CStdString version("1.0"); if (addon.get() != NULL) diff --git a/xbmc/addons/IAddon.h b/xbmc/addons/IAddon.h index 12fe0ecc3c..bbce986717 100644 --- a/xbmc/addons/IAddon.h +++ b/xbmc/addons/IAddon.h @@ -129,7 +129,7 @@ namespace ADDON * API version. If addon is NULL, or there is no xbmc.python dependency defined, * then the version is assumed to be "1.0" */ - CStdString getXbmcApiVersionDependency(ADDON::AddonPtr addon); + CStdString GetXbmcApiVersionDependency(ADDON::AddonPtr addon); }; diff --git a/xbmc/interfaces/python/XBPyThread.cpp b/xbmc/interfaces/python/XBPyThread.cpp index b76db0c8d7..d43ec3136f 100644 --- a/xbmc/interfaces/python/XBPyThread.cpp +++ b/xbmc/interfaces/python/XBPyThread.cpp @@ -239,7 +239,7 @@ void XBPyThread::Process() PyObject *pyaddonid = PyString_FromString(addon->ID().c_str()); PyDict_SetItemString(moduleDict, "__xbmcaddonid__", pyaddonid); - CStdString version = ADDON::getXbmcApiVersionDependency(addon); + CStdString version = ADDON::GetXbmcApiVersionDependency(addon); PyObject *pyxbmcapiversion = PyString_FromString(version.c_str()); PyDict_SetItemString(moduleDict, "__xbmcapiversion__", pyxbmcapiversion); diff --git a/xbmc/interfaces/python/XBPython.cpp b/xbmc/interfaces/python/XBPython.cpp index e274208992..30f2f7791c 100644 --- a/xbmc/interfaces/python/XBPython.cpp +++ b/xbmc/interfaces/python/XBPython.cpp @@ -286,7 +286,7 @@ void XBPython::InitializeInterpreter(ADDON::AddonPtr addon) InitAddonModule(); // init xbmcaddon modules InitVFSModule(); // init xbmcvfs modules - CStdString addonVer = ADDON::getXbmcApiVersionDependency(addon); + CStdString addonVer = ADDON::GetXbmcApiVersionDependency(addon); bool bwcompatMode = (addon.get() == NULL || (ADDON::AddonVersion(addonVer) <= ADDON::AddonVersion("1.0"))); const char* runscript = bwcompatMode ? RUNSCRIPT_BWCOMPATIBLE : RUNSCRIPT_COMPLIANT; |