2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
9 #include "GUIWindowStartup.h"
11 #include "ServiceBroker.h"
12 #include "guilib/GUIComponent.h"
13 #include "guilib/GUIWindowManager.h"
14 #include "guilib/WindowIDs.h"
15 #include "input/actions/Action.h"
17 CGUIWindowStartup::CGUIWindowStartup(void)
18 : CGUIWindow(WINDOW_STARTUP_ANIM
, "Startup.xml")
22 CGUIWindowStartup::~CGUIWindowStartup(void) = default;
24 bool CGUIWindowStartup::OnAction(const CAction
&action
)
28 return CGUIWindow::OnAction(action
);
31 void CGUIWindowStartup::OnDeinitWindow(int nextWindowID
)
33 CGUIWindow::OnDeinitWindow(nextWindowID
);
35 // let everyone know that the user interface is now ready for usage
36 CGUIMessage
msg(GUI_MSG_NOTIFY_ALL
, 0, 0, GUI_MSG_UI_READY
);
37 CServiceBroker::GetGUI()->GetWindowManager().SendThreadMessage(msg
);