]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/theme_loader.hpp
* winamp2.xml: generic theme file for winamp2 skins. Still a
[vlc] / modules / gui / skins2 / src / theme_loader.hpp
index 049b70f2db52f3d1e44510faa241a9d5346f05f7..4898a84d4445dc1970b0523263e0da1321d655f8 100644 (file)
@@ -58,13 +58,17 @@ class ThemeLoader: public SkinObject
 #endif
 
         /// Parse the XML file given as a parameter and build the skin
-        bool parse( const string &xmlFile );
+        bool parse( const string &path, const string &xmlFile );
 
         /// Recursively look for the XML file from rootDir.
         /// The first corresponding file found will be chosen and themeFilePath
         /// will be updated accordingly.
         /// The method returns true if a theme file was found, false otherwise
-        bool findThemeFile( const string &rootDir, string &themeFilePath );
+        bool findFile( const string &rootDir, const string &rFileName,
+                       string &themeFilePath );
+
+        /// Get the base path of a file
+        string getFilePath( const string &rFullPath );
 };
 
 #endif