The mir_tool/events headers are entangled

Bug #1621828 reported by Alan Griffiths
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Triaged
Low
Unassigned
mir (Ubuntu)
Triaged
Low
Unassigned

Bug Description

This appears almost *halfway through* include/client/mir_toolkit/events/event.h

    ...
    #include "mir_toolkit/events/input/input_event.h"
    #include "mir_toolkit/events/resize_event.h"
    #include "mir_toolkit/events/surface_event.h"
    #include "mir_toolkit/events/orientation_event.h"
    #include "mir_toolkit/events/prompt_session_event.h"
    #include "mir_toolkit/events/keymap_event.h"
    #include "mir_toolkit/events/input_configuration_event.h"
    #include "mir_toolkit/events/surface_output_event.h"
    #include "mir_toolkit/events/input_device_state_event.h"
    ...

And, of course, each of these #includes mir_toolkit/events/event.h

It's a case of include one, include all.

So, these headers don't win the client any specificity. Just obscure dependencies.

Tags: clientapi
tags: added: clientapi
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.