Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3059 from Fice/key_exposure

Expose ACTION_FOO, ICON_TYPE_FOO and KEY_CODE_FOO to addons
  • Loading branch information...
commit 4e5a987774fe2b498c1acd091fca8e3b1b4ef26d 2 parents 147d010 + bd240b7
Arne Morten Kvarving authored
Showing with 6 additions and 0 deletions.
  1. +4 −0 xbmc/guilib/Key.h
  2. +2 −0  xbmc/interfaces/swig/AddonModuleXbmcgui.i
View
4 xbmc/guilib/Key.h
@@ -368,6 +368,8 @@
#define ICON_TYPE_WEATHER 107
#define ICON_TYPE_SETTINGS 109
+#ifndef SWIG
+
class CKey;
/*!
@@ -522,5 +524,7 @@ class CKey
float m_repeat; // time since last keypress
bool m_fromService;
};
+#endif //undef SWIG
+
#endif
View
2  xbmc/interfaces/swig/AddonModuleXbmcgui.i
@@ -28,6 +28,7 @@
#include "interfaces/legacy/WindowDialog.h"
#include "interfaces/legacy/Dialog.h"
#include "interfaces/legacy/WindowXML.h"
+#include "guilib/Key.h"
using namespace XBMCAddon;
using namespace xbmcgui;
@@ -175,3 +176,4 @@ using namespace xbmcgui;
%include "interfaces/legacy/WindowXML.h"
+%include "guilib/Key.h"
Please sign in to comment.
Something went wrong with that request. Please try again.