From cf52ef6603156e172312514d1502bab02d93082a Mon Sep 17 00:00:00 2001 From: Andrea Azzarone Date: Thu, 15 Nov 2012 18:07:44 +0100 Subject: Use the new classes in real code. (bzr r2898.4.7) --- plugins/unityshell/src/unityshell.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'plugins/unityshell/src') diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 7c5814e98..59408234a 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -41,6 +41,9 @@ #include "unityshell.h" #include "BackgroundEffectHelper.h" #include "UnityGestureBroker.h" +#include "launcher/XdndCollectionWindowImp.h" +#include "launcher/XdndManagerImp.h" +#include "launcher/XdndStartStopNotifierImp.h" #include #include @@ -3075,7 +3078,12 @@ void UnityScreen::OnDashRealized () void UnityScreen::initLauncher() { Timer timer; - launcher_controller_ = std::make_shared(); + + auto xdnd_collection_window = std::make_shared(); + auto xdnd_start_stop_notifier = std::make_shared(); + auto xdnd_manager = std::make_shared(xdnd_start_stop_notifier, xdnd_collection_window); + + launcher_controller_ = std::make_shared(xdnd_manager); AddChild(launcher_controller_.get()); switcher_controller_ = std::make_shared(); -- cgit v1.2.3