1 /* 2 For general Scribus (>=1.3.2) copyright and licensing information please refer 3 to the COPYING file provided with the program. Following this notice may exist 4 a copyright and/or license notice that predates the release of Scribus 1.3.2 5 for which a new license (GPL+exception) is in place. 6 */ 7 8 #include "scconfig.h" 9 #include "sccolormgmtenginefactory.h" 10 11 #include "sclcms2colormgmtengineimpl.h" 12 13 ScColorMgmtEngineFactory colorMgmtEngineFactory; 14 createEngine(int)15ScColorMgmtEngine ScColorMgmtEngineFactory::createEngine(int /*engineID*/) 16 { 17 // for now just return default engine 18 return createDefaultEngine(); 19 } 20 createDefaultEngine()21ScColorMgmtEngine ScColorMgmtEngineFactory::createDefaultEngine() 22 { 23 ScColorMgmtEngine lcms2Engine(new ScLcms2ColorMgmtEngineImpl()); 24 return lcms2Engine; 25 } 26