// $Id: ScalerFactory.hh 5733 2006-10-02 13:16:39Z m9710797 $ #ifndef SCALERFACTORY_HH #define SCALERFACTORY_HH #include namespace openmsx { class Scaler; class RenderSettings; template class PixelOperations; /** Abstract base class for scalers. * A scaler is an algorithm that converts low-res graphics to hi-res graphics. */ template class ScalerFactory { public: /** Instantiates a Scaler. * @return A Scaler object, owned by the caller. */ static std::auto_ptr createScaler( const PixelOperations& pixelOps, RenderSettings& renderSettings); }; } // namespace openmsx #endif