Advise changes to workspaces.
More...
#include <workspace_policy.h>
Advise changes to workspaces.
- Note
- This interface is intended to be implemented by a WindowManagementPolicy implementation, we can't add these functions directly to that interface without breaking ABI (the vtab could be incompatible). When initializing the window manager this interface will be detected by dynamic_cast and registered accordingly.
◆ ~WorkspacePolicy()
virtual miral::WorkspacePolicy::~WorkspacePolicy |
( |
| ) |
|
|
virtualdefault |
◆ WorkspacePolicy() [1/2]
miral::WorkspacePolicy::WorkspacePolicy |
( |
| ) |
|
|
default |
◆ WorkspacePolicy() [2/2]
◆ advise_adding_to_workspace()
virtual void miral::WorkspacePolicy::advise_adding_to_workspace |
( |
std::shared_ptr< Workspace > const & |
workspace, |
|
|
std::vector< Window > const & |
windows |
|
) |
| |
|
virtual |
Notification that windows are being added to a workspace.
These windows are ordered with parents before children, and form a single tree rooted at the first element.
- Parameters
-
workspace | the workspace |
windows | the windows |
◆ advise_removing_from_workspace()
virtual void miral::WorkspacePolicy::advise_removing_from_workspace |
( |
std::shared_ptr< Workspace > const & |
workspace, |
|
|
std::vector< Window > const & |
windows |
|
) |
| |
|
virtual |
Notification that windows are being removed from a workspace.
These windows are ordered with parents before children, and form a single tree rooted at the first element.
- Parameters
-
workspace | the workspace |
windows | the windows |
◆ operator=()
The documentation for this class was generated from the following file:
Copyright © 2012-2017
Canonical Ltd.
Generated on Mon Oct 30 19:44:55 UTC 2017