|
From: Braden M. <br...@us...> - 2005-12-20 08:37:51
|
Update of /cvsroot/openvrml/openvrml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29946/examples Modified Files: sdl_viewer.cpp Log Message: Changed openvrml::resource_istream to use nonvirtual interface idiom. Index: sdl_viewer.cpp =================================================================== RCS file: /cvsroot/openvrml/openvrml/examples/sdl_viewer.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** sdl_viewer.cpp 17 Aug 2005 20:57:38 -0000 1.6 --- sdl_viewer.cpp 20 Dec 2005 08:37:43 -0000 1.7 *************** *** 141,150 **** } ! virtual const std::string url() const throw () { return this->url_; } ! virtual const std::string type() const throw () { // --- 141,151 ---- } ! private: ! virtual const std::string do_url() const throw () { return this->url_; } ! virtual const std::string do_type() const throw () { // *************** *** 172,176 **** } ! virtual bool data_available() const throw () { return !!(*this); --- 173,177 ---- } ! virtual bool do_data_available() const throw () { return !!(*this); |