XBMC Community Forum
What is exactly a FileItem? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: What is exactly a FileItem? (/showthread.php?tid=97256)



What is exactly a FileItem? - Clarity72 - 2011-03-19 21:07

Hello Everybody !

I'm new on this forum.
I'm using xbmc since long time ago and i find that the structure and the modularity of this program is wonderful.
I would be happy to improve it so i'm interesting in source code to understand how it works internally.
I don't understand exactly the utility of FileItem Class.
What is the logic of use?

I guess that it serve for file managing but i don't understand exactly what it represents ...

Thank you for your help.


- spiff - 2011-03-20 09:57

it represents a file or a directory. it has music/video/picture tags as well as the possibility to set general properties. it's the class used for representing entries in a list in the gui, and the class used internally in the virtual file system.


- Clarity72 - 2011-03-21 11:33

Thanks for this help !