[WASAPI] fix stream types and frequencies enumeration
[xbmc.git] / xbmc / guilib / DispResource.h
blobe22bb2108f6e88247eae46d2186b007a1cf64690
1 /*
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.
7 */
9 #pragma once
11 // interface for registering into windowing
12 // to get notified about display events
13 // interface only, does not control lifetime of the object
14 class IDispResource
16 public:
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
26 class IRenderLoop
28 public:
29 virtual ~IRenderLoop() = default;
31 virtual void FrameMove() = 0;