Kodi Development  20.0
for Binary and Script based Add-Ons
pvr_menu_hook.h
1 /*
2  * Copyright (C) 2005-2018 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 #ifndef C_API_ADDONINSTANCE_PVR_MENUHOOK_H
10 #define C_API_ADDONINSTANCE_PVR_MENUHOOK_H
11 
12 #include "pvr_defines.h"
13 
14 //¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
15 // "C" Definitions group 7 - Menu hook
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif /* __cplusplus */
20 
21  //============================================================================
28  typedef enum PVR_MENUHOOK_CAT
29  {
32 
35 
38 
41 
44 
47 
50 
55  //----------------------------------------------------------------------------
56 
64  typedef struct PVR_MENUHOOK
65  {
66  unsigned int iHookId;
67  unsigned int iLocalizedStringId;
68  enum PVR_MENUHOOK_CAT category;
69  } PVR_MENUHOOK;
70 
71 #ifdef __cplusplus
72 }
73 #endif /* __cplusplus */
74 
75 #endif /* !C_API_ADDONINSTANCE_PVR_MENUHOOK_H */
PVR_MENUHOOK_CAT
Definition: pvr_menu_hook.h:29
@ PVR_MENUHOOK_UNKNOWN
-1 : Unknown menu hook.
Definition: pvr_menu_hook.h:31
@ PVR_MENUHOOK_ALL
0 : All categories.
Definition: pvr_menu_hook.h:34
@ PVR_MENUHOOK_CHANNEL
1 : For channels.
Definition: pvr_menu_hook.h:37
@ PVR_MENUHOOK_DELETED_RECORDING
5 : For deleted recordings.
Definition: pvr_menu_hook.h:49
@ PVR_MENUHOOK_SETTING
6 : For settings.
Definition: pvr_menu_hook.h:52
@ PVR_MENUHOOK_RECORDING
4 : For recordings.
Definition: pvr_menu_hook.h:46
@ PVR_MENUHOOK_EPG
3 : For EPG.
Definition: pvr_menu_hook.h:43
@ PVR_MENUHOOK_TIMER
2 : For timers.
Definition: pvr_menu_hook.h:40
"C" PVR add-on menu hook.
Definition: pvr_menu_hook.h:65