//[-------------------------------------------------------] //[ Private virtual PLCore::Loadable functions ] //[-------------------------------------------------------] bool PostProcessManager::CallLoadable(File &cFile, Loader &cLoader, const String &sMethod, const String &sParams) { // Get the loader implementation LoaderImpl *pLoaderImpl = cLoader.GetImpl(); if (pLoaderImpl) { // Load if (sParams.GetLength()) { pLoaderImpl->CallMethod(sMethod, "Param0=\"" + Type<PostProcessManager&>::ConvertToString(*this) + "\" Param1=\"" + Type<File&>::ConvertToString(cFile) + "\" " + sParams); return true; } else { Params<bool, PostProcessManager&, File&> cParams(*this, cFile); pLoaderImpl->CallMethod(sMethod, cParams); return cParams.Return; } } // Error! return false; }