]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/generic_window.hpp
skins2 vout manager
[vlc] / modules / gui / skins2 / src / generic_window.hpp
index f3c5bfece01e6b56bb9f1e72d60277cecb1732e2..e75b733b7fda3ab91e12375263596ea5d900be59 100644 (file)
@@ -46,6 +46,8 @@ class GenericWindow: public SkinObject, public Observer<VarBool>
 {
     private:
         friend class WindowManager;
+        friend class VoutManager;
+        friend class CtrlVideo;
     public:
         GenericWindow( intf_thread_t *pIntf, int xPos, int yPos,
                        bool dragDrop, bool playOnDrop,
@@ -81,6 +83,12 @@ class GenericWindow: public SkinObject, public Observer<VarBool>
         /// Window type, mainly useful when overloaded (for VoutWindow)
         virtual string getType() const { return "Generic"; }
 
+        /// windows handle
+        void* getOSHandle() const;
+
+        /// reparent
+        void setParent( GenericWindow* pParent, int x, int y, int w, int h );
+
     protected:
         /// Get the OS window
         OSWindow *getOSWindow() const { return m_pOsWindow; }