Merge lp:~nick-dedekind/qtmir/mir-0.5-compatibility into lp:qtmir

Proposed by Nick Dedekind
Status: Merged
Merged at revision: 207
Proposed branch: lp:~nick-dedekind/qtmir/mir-0.5-compatibility
Merge into: lp:qtmir
Diff against target: 28 lines (+10/-0)
2 files modified
src/platforms/mirserver/sessionauthorizer.cpp (+9/-0)
src/platforms/mirserver/sessionauthorizer.h (+1/-0)
To merge this branch: bzr merge lp:~nick-dedekind/qtmir/mir-0.5-compatibility
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
Review via email: mp+227290@code.launchpad.net

Commit message

Compatibility with mir-0.5

Description of the change

Compatibility with mir-0.5

To post a comment you must log in.
Revision history for this message
Gerry Boland (gerboland) wrote :

Approved, and merged at revision 207

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/platforms/mirserver/sessionauthorizer.cpp'
--- src/platforms/mirserver/sessionauthorizer.cpp 2014-07-01 13:38:06 +0000
+++ src/platforms/mirserver/sessionauthorizer.cpp 2014-07-18 08:54:01 +0000
@@ -57,3 +57,12 @@
57 Q_UNUSED(creds)57 Q_UNUSED(creds)
58 return true;58 return true;
59}59}
60
61bool SessionAuthorizer::prompt_session_is_allowed(SessionCredentials const& creds)
62{
63 qCDebug(QTMIR_MIR_MESSAGES) << "SessionAuthorizer::prompt_session_is_allowed - this=" << this << "pid=" << creds.pid();
64
65 //FIXME Actually mediate this access for clients
66 Q_UNUSED(creds)
67 return true;
68}
6069
=== modified file 'src/platforms/mirserver/sessionauthorizer.h'
--- src/platforms/mirserver/sessionauthorizer.h 2014-05-09 16:25:00 +0000
+++ src/platforms/mirserver/sessionauthorizer.h 2014-07-18 08:54:01 +0000
@@ -37,6 +37,7 @@
37 bool connection_is_allowed(mir::frontend::SessionCredentials const& creds) override;37 bool connection_is_allowed(mir::frontend::SessionCredentials const& creds) override;
38 bool configure_display_is_allowed(mir::frontend::SessionCredentials const& creds) override;38 bool configure_display_is_allowed(mir::frontend::SessionCredentials const& creds) override;
39 bool screencast_is_allowed(mir::frontend::SessionCredentials const& creds) override;39 bool screencast_is_allowed(mir::frontend::SessionCredentials const& creds) override;
40 bool prompt_session_is_allowed(mir::frontend::SessionCredentials const& creds) override;
4041
41Q_SIGNALS:42Q_SIGNALS:
42 // needs to be blocked queued signal which returns value for authorized43 // needs to be blocked queued signal which returns value for authorized

Subscribers

People subscribed via source and target branches