~alan-griffiths/qtmir/tidy-mirserver-deps

« back to all changes in this revision

Viewing changes to src/platforms/mirserver/mirdisplayconfigurationpolicy.h

Iteration 0 of miral::PersistDisplayConfig. This does nothing yet (and breaks nothing in the process). This MP creates a place (miral-prototypes) to build prototype miral features and sketches out what will need to be implemented for PersistDisplayConfig. (LP: #1644189)

Approved by: Nick Dedekind, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#ifndef MIRDISPLAYCONFIGURATIONPOLICY_H
18
18
#define MIRDISPLAYCONFIGURATIONPOLICY_H
19
19
 
20
 
namespace mir { class Server; }
 
20
#include <memory>
 
21
 
 
22
namespace mir { namespace graphics { class DisplayConfigurationPolicy; }}
21
23
 
22
24
namespace qtmir
23
25
{
24
 
void setDisplayConfigurationPolicy(mir::Server& server);
 
26
 
 
27
auto wrapDisplayConfigurationPolicy(const std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> &wrapped)
 
28
-> std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>;
25
29
}
26
30
 
27
31