mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T103, plugin directory now from CDirectoryUtils::pluginDirectory()
Hence we can use const QString & like const QString &CPluginManagerWeatherData::pluginDirectory()
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a9198e4f13
commit
3245ff4ef4
@@ -24,7 +24,6 @@
|
||||
#include <QString>
|
||||
|
||||
namespace BlackMisc { class CVariant; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
class IWeatherDataFactory;
|
||||
@@ -33,7 +32,7 @@ namespace BlackCore
|
||||
* Manages plugins of type WeatherData.
|
||||
*/
|
||||
class BLACKCORE_EXPORT CPluginManagerWeatherData :
|
||||
public BlackCore::IPluginManager
|
||||
public BlackCore::IPluginManager
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -55,7 +54,7 @@ namespace BlackCore
|
||||
virtual BlackMisc::CSequence<QString> acceptedIids() const override;
|
||||
|
||||
//! \copydoc BlackCore::IPluginManager::pluginDirectory()
|
||||
virtual QString pluginDirectory() const override;
|
||||
virtual const QString &pluginDirectory() const override;
|
||||
|
||||
private:
|
||||
//! Extended data for plugin
|
||||
@@ -66,7 +65,6 @@ namespace BlackCore
|
||||
|
||||
QMap<QString, PluginExtended> m_plugins; //!< Id <-> extended data pairs
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user