Mercurial > hg > svcore
comparison transform/TransformFactory.h @ 1149:afed8be79032 3.0-integration
Show warning to the user when plugin population has problems
author | Chris Cannam |
---|---|
date | Tue, 19 Jan 2016 12:32:30 +0000 |
parents | 26cf6d5251ec |
children | 6b1af0f05f06 |
comparison
equal
deleted
inserted
replaced
1148:9cdb4206aceb | 1149:afed8be79032 |
---|---|
194 * descriptions of transforms is not required. | 194 * descriptions of transforms is not required. |
195 */ | 195 */ |
196 void setParametersFromPluginConfigurationXml(Transform &transform, | 196 void setParametersFromPluginConfigurationXml(Transform &transform, |
197 QString xml); | 197 QString xml); |
198 | 198 |
199 /** | |
200 * Return any error message arising from the initial plugin | |
201 * scan. The return value will either be an empty string (nothing | |
202 * to report) or an HTML string suitable for dropping into a | |
203 * dialog and showing the user. | |
204 */ | |
205 QString getPluginPopulationWarning(); | |
206 | |
199 protected: | 207 protected: |
200 typedef std::map<TransformId, TransformDescription> TransformDescriptionMap; | 208 typedef std::map<TransformId, TransformDescription> TransformDescriptionMap; |
201 | 209 |
202 TransformDescriptionMap m_transforms; | 210 TransformDescriptionMap m_transforms; |
203 bool m_transformsPopulated; | 211 bool m_transformsPopulated; |