aboutsummaryrefslogtreecommitdiff
path: root/lib/cpluff
diff options
context:
space:
mode:
authoralcoheca <alcoheca@svn>2010-03-29 19:42:48 +0000
committeralcoheca <alcoheca@svn>2010-03-29 19:42:48 +0000
commitd74e3dad135d9d5566868e7612839a11636a8430 (patch)
tree1ba926bee9c40792e2e0b6ede924fcad0b8934af /lib/cpluff
parentc577905d9538976c2b43d74cd218813a4ead0c11 (diff)
changed: ok plugin.xml was going to be too confusing. use <addon> tags
instead of <plugin> too for sanity git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28923 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib/cpluff')
-rw-r--r--lib/cpluff/libcpluff/ploader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cpluff/libcpluff/ploader.c b/lib/cpluff/libcpluff/ploader.c
index 648c2bb326..f33df277f5 100644
--- a/lib/cpluff/libcpluff/ploader.c
+++ b/lib/cpluff/libcpluff/ploader.c
@@ -57,7 +57,7 @@
#define CP_CFG_ELEMENT_VALUE_INITSIZE 64
/// Plugin descriptor name
-#define CP_PLUGIN_DESCRIPTOR "plugin.xml"
+#define CP_PLUGIN_DESCRIPTOR "addon.xml"
/* ------------------------------------------------------------------------
@@ -520,7 +520,7 @@ static void CP_XMLCALL start_element_handler(
static const XML_Char * const opt_bwcompatibility_atts[] = { "abi", "api", NULL };
static const XML_Char * const req_cpluff_atts[] = { "version", NULL };
static const XML_Char * const opt_cpluff_atts[] = { NULL };
- static const XML_Char * const req_import_atts[] = { "plugin", NULL };
+ static const XML_Char * const req_import_atts[] = { "addon", NULL };
static const XML_Char * const opt_import_atts[] = { "version", "optional", NULL };
static const XML_Char * const req_runtime_atts[] = { "library", NULL };
static const XML_Char * const opt_runtime_atts[] = { "funcs", NULL };
@@ -535,7 +535,7 @@ static void CP_XMLCALL start_element_handler(
switch (plcontext->state) {
case PARSER_BEGIN:
- if (!strcmp(name, "plugin")) {
+ if (!strcmp(name, "addon")) {
plcontext->state = PARSER_PLUGIN;
if (!check_attributes(plcontext, name, atts,
req_plugin_atts, opt_plugin_atts)) {