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:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user