CVSROOT: /sources/gnash Module name: gnash Changes by: Markus Gothe <nihilus> 07/08/29 01:08:17
Modified files: . : ChangeLog Removed files: libbase : component_hackery.cpp Log message: Removed crufty file. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4140&r2=1.4141 http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/component_hackery.cpp?cvsroot=gnash&r1=1.2&r2=0 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4140 retrieving revision 1.4141 diff -u -b -r1.4140 -r1.4141 --- ChangeLog 29 Aug 2007 00:58:02 -0000 1.4140 +++ ChangeLog 29 Aug 2007 01:08:16 -0000 1.4141 @@ -1,3 +1,7 @@ +2007-08-29 Markus Gothe <[EMAIL PROTECTED]> + + * libbase/component_hackery.cpp: Removed crufty file. + 2007-08-29 Sandro Santilli <[EMAIL PROTECTED]> * Makefile.am: distribute old ChangeLog files. Index: libbase/component_hackery.cpp =================================================================== RCS file: libbase/component_hackery.cpp diff -N libbase/component_hackery.cpp --- libbase/component_hackery.cpp 26 Feb 2006 15:49:29 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,47 +0,0 @@ -// Thatcher Ulrich <[EMAIL PROTECTED]> 2003 -*- coding: utf-8;-*- - -// This source code has been donated to the Public Domain. Do -// whatever you want with it. - - -#include <vector> - - -class Component { -// typedef vector<Component>::iterator; - - template< class interface > - class iterator { - - - operator++() - { - } - }; -}; - - -class SpecialInterface : public Component { - void DoStuff() - { - printf( "doing stuff.\n" ); - } -}; - - -class Actor { - -}; - - -#define foreach( _decl, _p, _actor ) \ - for ( _decl _p, Component::iterator _i( _p ) = _actor.components.get_first( _p ); _i != _actor.components.end(); ++ _i, _p = *_i ) - - - -foreach(SpecialInterface*, p, actors) -{ - p->DoStuff(); - some_list.push_back( p ); -} - _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit