/* -*- C++ -*- * Copyright ©2008 Hugo Mills * * This software is distributed under the terms of the GNU GPL * For more information on the GPL, see the file COPYING or * visit http://www.gnu.org/ * * This software is distributed without warranty */ #ifndef RENDERER_H #define RENDERER_H #include #include class Output; class Configuration; class Renderer /* : public boost::function0 */ /* Why doesn't this compile? */ { public: Renderer(Configuration*, Output*, boost::barrier*); virtual ~Renderer() { } void operator()(void); // From boost::function0 private: Configuration* config; Output* output; boost::barrier* completion; }; #endif