/* ==================================================================== * Copyright (c) 2003-2006, Martin Hauner * http://subcommander.tigris.org * * Subcommander is licensed as described in the file doc/COPYING, which * you should have received as part of this distribution. * ==================================================================== */ #ifndef _PAINTLINEFACTORY_H #define _PAINTLINEFACTORY_H // sc class PaintLine; class LineConfig; namespace sc { class String; } class PaintLineFactory { public: static const PaintLine* create( const sc::String& source, int leftCol, int rightCol, const LineConfig& cfg ); private: PaintLineFactory(); static int addChar( const char* in, char* out, int col, int* bytes, const LineConfig& cfg ); }; #endif // _PAINTLINEFACTORY_H