2006-06-18, 14:57
there are a couple of places in my skinning project which i ran into where i really "need" to be able to do conditional visiblity based on if a skin setting string has specific values or not, not just non-empty.
i am still mr n00b, so i haven't even been able to figure out where to look in the cvs for the code for functions such as this. as a result, i'm not sure if what i am asking for here is a little work or a lot.
it seems like it would require only some minor work, just a logic fork for cases when a value to be checked against is supplied in the arguments, and within that fork a call to whatever is available in the language being used to write xbmc (some flavor of c?) has in terms of a string comparison function. i am assuming there are functions like this already available in the string class or whatever?
i am still mr n00b, so i haven't even been able to figure out where to look in the cvs for the code for functions such as this. as a result, i'm not sure if what i am asking for here is a little work or a lot.
it seems like it would require only some minor work, just a logic fork for cases when a value to be checked against is supplied in the arguments, and within that fork a call to whatever is available in the language being used to write xbmc (some flavor of c?) has in terms of a string comparison function. i am assuming there are functions like this already available in the string class or whatever?