]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/x11/x11_factory.hpp
Make Zorglub less unhappy
[vlc] / modules / gui / skins2 / x11 / x11_factory.hpp
index 41805fbe0bdb1deb4c75c33d0f6f54fb0ec26830..1d944d67bec23a045b46d1c004fd29280120bfd0 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * x11_factory.hpp
  *****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 the VideoLAN team
  * $Id$
  *
  * Authors: Cyril Deguet     <asmax@via.ecp.fr>
@@ -62,6 +62,9 @@ class X11Factory: public OSFactory
         /// Instantiate an OSTimer with the given callback
         virtual OSTimer *createOSTimer( const Callback &rCallback );
 
+        ///
+        virtual void minimize();
+
         /// Instantiate an OSWindow object
         virtual OSWindow *createOSWindow( GenericWindow &rWindow,
                                           bool dragDrop, bool playOnDrop,
@@ -71,7 +74,11 @@ class X11Factory: public OSFactory
         virtual OSTooltip *createOSTooltip();
 
         /// Get the directory separator
-        virtual const string getDirSeparator() const;
+        virtual const string &getDirSeparator() const { return m_dirSep; }
+
+        /// Get the resource path
+        virtual const list<string> &getResourcePath() const
+            { return m_resourcePath; }
 
         /// Get the screen size
         virtual int getScreenWidth() const;
@@ -97,6 +104,10 @@ class X11Factory: public OSFactory
         X11Display *m_pDisplay;
         /// Timer loop
         X11TimerLoop *m_pTimerLoop;
+        /// Directory separator
+        const string m_dirSep;
+        /// Resource path
+        list<string> m_resourcePath;
 };
 
 #endif