[vlc-commits] Qt: addons: manager: add support for single archive install
Francois Cartegnie
git at videolan.org
Mon Feb 10 17:21:31 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 10 15:20:38 2014 +0100| [d88a39ecc2d3707836c135b16f6d264cd11de51e] | committer: Francois Cartegnie
Qt: addons: manager: add support for single archive install
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d88a39ecc2d3707836c135b16f6d264cd11de51e
---
modules/gui/qt4/managers/addons_manager.cpp | 5 +++++
modules/gui/qt4/managers/addons_manager.hpp | 1 +
2 files changed, 6 insertions(+)
diff --git a/modules/gui/qt4/managers/addons_manager.cpp b/modules/gui/qt4/managers/addons_manager.cpp
index cc5819c..d0ae3ef 100644
--- a/modules/gui/qt4/managers/addons_manager.cpp
+++ b/modules/gui/qt4/managers/addons_manager.cpp
@@ -50,6 +50,11 @@ void AddonsManager::findNewAddons()
addons_manager_Gather( p_manager, NULL );
}
+void AddonsManager::findDesignatedAddon( QString uri )
+{
+ addons_manager_Gather( p_manager, qtu(uri) );
+}
+
void AddonsManager::findInstalled()
{
addons_manager_LoadCatalog( p_manager );
diff --git a/modules/gui/qt4/managers/addons_manager.hpp b/modules/gui/qt4/managers/addons_manager.hpp
index 8ef088d..9a1ddc1 100644
--- a/modules/gui/qt4/managers/addons_manager.hpp
+++ b/modules/gui/qt4/managers/addons_manager.hpp
@@ -79,6 +79,7 @@ signals:
public slots:
void findNewAddons();
+ void findDesignatedAddon( QString uri );
void findInstalled();
private:
More information about the vlc-commits
mailing list