X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Factions%2Faction.h;h=edcfac6f01224b93114372a8b90303c91514cc2a;hb=be4aa74e26480dc08d7eb4ea2565fc02d0b1e414;hp=f0a6ee49a4083949e536fc1b1fa8790e9dc78b99;hpb=c2b4aa62c5e2d5e562010350cc3ca49002d9614f;p=vuplus_dvbapp diff --git a/lib/actions/action.h b/lib/actions/action.h index f0a6ee4..edcfac6 100644 --- a/lib/actions/action.h +++ b/lib/actions/action.h @@ -3,10 +3,6 @@ #include - /* avoid warnigs :) */ -#include -#undef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200112L #include #include #include @@ -16,7 +12,7 @@ class eWidget; SWIG_IGNORE(eActionMap); class eActionMap: public iObject { -DECLARE_REF(eActionMap); + DECLARE_REF(eActionMap); #ifdef SWIG eActionMap(); ~eActionMap(); @@ -43,6 +39,9 @@ private: static eActionMap *instance; struct eActionBinding { + eActionBinding() + :m_prev_seen_make_key(-1) + {} // eActionContext *m_context; std::string m_context; // FIXME std::string m_domain; @@ -51,6 +50,7 @@ private: eWidget *m_widget; int m_id; + int m_prev_seen_make_key; }; std::multimap m_bindings;