kodi
IActionListener.h
1 /*
2  * Copyright (C) 2005-2024 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 class CAction;
12 
13 namespace KODI
14 {
15 namespace ACTION
16 {
23 {
24 public:
25  virtual ~IActionListener() = default;
26 
34  virtual bool OnAction(const CAction& action) = 0;
35 };
36 } // namespace ACTION
37 } // namespace KODI
virtual bool OnAction(const CAction &action)=0
Handle a GUI action.
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
Definition: AudioDecoder.h:18
Interface defining methods to handle GUI actions.
Definition: IActionListener.h:22