~unity-team/unity-api/kbdLayout

« back to all changes in this revision

Viewing changes to include/unity/shell/application/ApplicationManagerInterface.h

  • Committer: CI Train Bot
  • Author(s): Michael Terry
  • Date: 2015-11-02 11:23:34 UTC
  • mfrom: (188.3.5 no-touch-no-lifecycle)
  • Revision ID: ci-train-bot@canonical.com-20151102112334-4wwom9nulwnl8wtc
Add new isTouchApp property to ApplicationInfoInterface.

Adding isTouchApp gives upper layers more information it may use to decide whether it should suspend an app.
Approved by: PS Jenkins bot, Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        m_roleNames.insert(RoleStage, "stage");
71
71
        m_roleNames.insert(RoleState, "state");
72
72
        m_roleNames.insert(RoleFocused, "focused");
 
73
        m_roleNames.insert(RoleIsTouchApp, "isTouchApp");
73
74
 
74
75
        connect(this, SIGNAL(rowsInserted(QModelIndex, int, int)), SIGNAL(countChanged()));
75
76
        connect(this, SIGNAL(rowsRemoved(QModelIndex, int, int)), SIGNAL(countChanged()));
92
93
        RoleStage,
93
94
        RoleState,
94
95
        RoleFocused,
 
96
        RoleIsTouchApp,
95
97
    };
96
98
 
97
99
    /// @cond