mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
fix: 修改对老插件的兼容性问题
所有插件的api版本都改成2.0.0,PluginProxyInterface新增的接口放到最后的位置,保证老插件在加载的时候能调用到正确的函数 Log: 修改老插件的兼容性问题 Influence: 任务栏加载老插件 Bug: https://pms.uniontech.com/bug-view-132961.html Change-Id: I0c2714db6a21f2d246126ce2d9cec96e8c706d80
This commit is contained in:
parent
461ece4bd7
commit
e714c7e44e
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
dde-dock (6.0.0.1) unstable; urgency=low
|
||||
|
||||
* release Tag 6.0.0.1
|
||||
|
||||
-- donghualin <donghualin@uniontech.com> Wed, 1 June 2022 21:34:29 +0800
|
||||
|
||||
dde-dock (6.0.0.0) unstable; urgency=low
|
||||
|
||||
* release Tag 6.0.0.0
|
||||
|
@ -27,7 +27,7 @@
|
||||
namespace Dock {
|
||||
|
||||
#define DOCK_PLUGIN_MIME "dock/plugin"
|
||||
#define DOCK_PLUGIN_API_VERSION "1.2.3"
|
||||
#define DOCK_PLUGIN_API_VERSION "2.0.0"
|
||||
|
||||
#define PROP_DISPLAY_MODE "DisplayMode"
|
||||
|
||||
|
@ -60,12 +60,6 @@ public:
|
||||
///
|
||||
virtual void itemRemoved(PluginsItemInterface * const itemInter, const QString &itemKey) = 0;
|
||||
|
||||
///
|
||||
/// update display or information
|
||||
///
|
||||
///
|
||||
virtual void updateDockInfo(const DockPart &) = 0;
|
||||
|
||||
///
|
||||
/// \brief requestContextMenu
|
||||
/// request show context menu
|
||||
@ -102,6 +96,12 @@ public:
|
||||
/// SeeAlse: saveValue
|
||||
///
|
||||
virtual void removeValue(PluginsItemInterface *const itemInter, const QStringList &keyList) = 0;
|
||||
|
||||
///
|
||||
/// update display or information
|
||||
///
|
||||
///
|
||||
virtual void updateDockInfo(const DockPart &) = 0;
|
||||
};
|
||||
|
||||
#endif // PLUGINPROXYINTERFACE_H
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"api": "1.1.1",
|
||||
"api": "2.0.0",
|
||||
"depends-daemon-dbus-service": ""
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"api": "1.1.1",
|
||||
"api": "2.0.0",
|
||||
"depends-daemon-dbus-service": "com.deepin.daemon.Bluetooth"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"api": "1.2.3",
|
||||
"api": "2.0.0",
|
||||
"depends-daemon-dbus-service": "com.deepin.daemon.Timedate"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.1.1"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.1.1"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.2.2"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.1.1"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.1.1"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"api": "1.1.1",
|
||||
"api": "2.0.0",
|
||||
"depends-daemon-dbus-service": "com.deepin.daemon.Power"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.2.2"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.1.1"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"api": "1.1.1",
|
||||
"api": "2.0.0",
|
||||
"depends-daemon-dbus-service": "com.deepin.daemon.Audio"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"api": "1.1.1"
|
||||
"api": "2.0.0"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"api": "1.1.1",
|
||||
"api": "2.0.0",
|
||||
"depends-daemon-dbus-service": "com.deepin.dde.TrayManager"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user