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.
11 // interface for registering into windowing
12 // to get notified about display events
13 // interface only, does not control lifetime of the object
17 virtual ~IDispResource() = default;
19 virtual void OnLostDisplay() {}
20 virtual void OnResetDisplay() {}
21 virtual void OnAppFocusChange(bool focus
) {}
24 // interface used by clients to register into render loop
25 // interface only, does not control lifetime of the object
29 virtual ~IRenderLoop() = default;
31 virtual void FrameMove() = 0;