1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Add function GMenu2X::getTouchscreen(), to simplify Link and LinkApp prototypes

This commit is contained in:
Paul Cercueil
2013-09-05 19:19:16 -04:00
parent 20339c8849
commit 1ff17d83c9
6 changed files with 17 additions and 14 deletions

View File

@@ -57,13 +57,13 @@ using namespace std;
static const char *tokens[] = { "%f", "%F", "%u", "%U", };
#ifdef HAVE_LIBOPK
LinkApp::LinkApp(GMenu2X *gmenu2x_, Touchscreen &ts, InputManager &inputMgr_,
LinkApp::LinkApp(GMenu2X *gmenu2x_, InputManager &inputMgr_,
const char* linkfile, struct OPK *opk)
#else
LinkApp::LinkApp(GMenu2X *gmenu2x_, Touchscreen &ts, InputManager &inputMgr_,
LinkApp::LinkApp(GMenu2X *gmenu2x_, InputManager &inputMgr_,
const char* linkfile)
#endif
: Link(gmenu2x_, ts, BIND(&LinkApp::start))
: Link(gmenu2x_, BIND(&LinkApp::start))
, inputMgr(inputMgr_)
{
manual = "";