]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/parser/builder.hpp
* winamp2.xml: added the Equalizer and Playlist windows.
[vlc] / modules / gui / skins2 / parser / builder.hpp
index f041d56ee4b2d5a8f49b32df52828afb21f45eff..80c80a10325c69b71eaca65f00b8bcee2878b77f 100644 (file)
@@ -46,7 +46,8 @@ class Theme;
 class Builder: public SkinObject
 {
     public:
-        Builder( intf_thread_t *pIntf, const BuilderData &rData );
+        Builder( intf_thread_t *pIntf, const BuilderData &rData,
+                 const string &rPath );
         virtual ~Builder();
 
         /// Create a Theme object, ready to use.
@@ -59,6 +60,8 @@ class Builder: public SkinObject
     private:
         /// Data from the XML
         const BuilderData &m_rData;
+        /// Path of the theme
+        const string m_path;
 
         /// Theme under construction
         Theme *m_pTheme;
@@ -87,6 +90,9 @@ class Builder: public SkinObject
                                      int xPos, int yPos, int width, int height,
                                      const Box &rBox ) const;
 
+        // Build the full path of a file
+        string getFilePath( const string &fileName ) const;
+
         /// Get a font from its id
         GenericFont *getFont( const string &fontId );