[Libufo-commits] ufo-0.5/include/ufo/ux uxglxdriver.hpp,1.5,1.6
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-10-17 16:23:03
|
Update of /cvsroot/libufo/ufo-0.5/include/ufo/ux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19363/include/ufo/ux Modified Files: uxglxdriver.hpp Log Message: Fixed clean-up on destruction of glx driver. Index: uxglxdriver.hpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/ux/uxglxdriver.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** uxglxdriver.hpp 21 May 2005 15:17:23 -0000 1.5 --- uxglxdriver.hpp 17 Oct 2005 16:22:50 -0000 1.6 *************** *** 55,58 **** --- 55,59 ---- public: UXGLXDriver(); + virtual ~UXGLXDriver(); public: // Implements UVideoDriver *************** *** 90,93 **** --- 91,99 ---- UMod::Modifier mapX11Modifiers(int modifiers); + protected: + friend class UXGLXDevice; + /** Removes device from device list. */ + void destroyed(UXGLXDevice * device); + public: // plugin methods static UPluginBase * createPlugin(); *************** *** 117,120 **** --- 123,127 ---- public: UXGLXDevice(UXGLXDriver * driver); + virtual ~UXGLXDevice(); public: // Implements UVideoDevice virtual void setSize(int w, int h); |