~josharenson/unity8/fix-greeter-password-focus

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Application/ApplicationInfo.h

  • Committer: Josh Arenson
  • Date: 2016-03-25 19:53:42 UTC
  • mfrom: (1978.1.6 sessions-model)
  • mto: This revision was merged to the branch mainline in revision 1986.
  • Revision ID: joshua.arenson@canonical.com-20160325195342-ibax564aavo3lk2i
merge prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
// unity-api
26
26
#include <unity/shell/application/ApplicationInfoInterface.h>
 
27
#include <unity/shell/application/Mir.h>
27
28
 
28
29
using namespace unity::shell::application;
29
30
 
59
60
 
60
61
    QUrl icon() const override { return m_icon; }
61
62
 
62
 
    void setStage(Stage value);
 
63
    Q_INVOKABLE void setStage(Stage value); // invokable only for mock
63
64
    Stage stage() const override { return m_stage; }
64
65
 
65
66
    Q_INVOKABLE void setState(State value);
78
79
    QString screenshot() const { return m_screenshotFileName; }
79
80
 
80
81
    void setFullscreen(bool value);
81
 
    bool fullscreen() const { return m_fullscreen; }
 
82
    bool fullscreen() const;
82
83
 
83
84
    Qt::ScreenOrientations supportedOrientations() const override;
84
85
    void setSupportedOrientations(Qt::ScreenOrientations orientations);
97
98
 
98
99
    QSize initialSurfaceSize() const override;
99
100
    void setInitialSurfaceSize(const QSize &size) override;
 
101
 
 
102
    Q_INVOKABLE void setShellChrome(Mir::ShellChrome shellChrome);
100
103
public:
101
104
    void setSession(Session* session);
102
105
    Session* session() const { return m_session; }
134
137
    QSize m_initialSurfaceSize;
135
138
 
136
139
    bool m_manualSurfaceCreation;
 
140
    Mir::ShellChrome m_shellChrome;
137
141
};
138
142
 
139
143
Q_DECLARE_METATYPE(ApplicationInfo*)