kodi
xbmc
addons
interfaces
gui
dialogs
ContextMenu.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
#pragma once
10
11
#include "addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/context_menu.h"
12
13
extern
"C"
14
{
15
16
struct
AddonGlobalInterface
;
17
18
namespace
ADDON
19
{
20
29
struct
Interface_GUIDialogContextMenu
30
{
31
static
void
Init(
AddonGlobalInterface
* addonInterface);
32
static
void
DeInit(
AddonGlobalInterface
* addonInterface);
33
45
static
int
open
(KODI_HANDLE kodiBase,
46
const
char
* heading,
47
const
char
* entries[],
48
unsigned
int
size);
50
};
51
52
}
/* namespace ADDON */
53
}
/* extern "C" */
AddonGlobalInterface
Main structure passed from kodi to addon with basic information needed to create add-on.
Definition:
addon_base.h:378
ADDON::Interface_GUIDialogContextMenu
Global gui Add-on to Kodi callback functions.
Definition:
ContextMenu.h:29
ADDON::Interface_GUIDialogContextMenu::open
static int open(KODI_HANDLE kodiBase, const char *heading, const char *entries[], unsigned int size)
callback functions from add-on to kodi
Definition:
ContextMenu.cpp:35
ADDON
Definition:
Addon.cpp:39
Generated by
1.8.13