[vlc-commits] npapi: make VlcPluginBase::setWindow virtual

Sergey Radionov git at videolan.org
Wed Dec 21 12:54:13 CET 2011


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Tue Dec 13 09:51:43 2011 +0700| [05e434d02d6103952665ca15e96794e57f0182ef] | committer: Jean-Baptiste Kempf

npapi: make VlcPluginBase::setWindow virtual

Some descendant classes can will want to know about parent window changing.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=05e434d02d6103952665ca15e96794e57f0182ef
---

 npapi/vlcplugin_base.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/npapi/vlcplugin_base.h b/npapi/vlcplugin_base.h
index 20ce444..f731976 100644
--- a/npapi/vlcplugin_base.h
+++ b/npapi/vlcplugin_base.h
@@ -210,7 +210,7 @@ public:
     char*               getAbsoluteURL(const char *url);
     NPWindow&           getWindow()
                             { return npwindow; };
-    void                setWindow(const NPWindow &window);
+    virtual void        setWindow(const NPWindow &window);
 
     NPClass*            getScriptClass()
                             { return p_scriptClass; };



More information about the vlc-commits mailing list