Functions
phosh_private_set_user_data ()
void
phosh_private_set_user_data (struct phosh_private *phosh_private
,
void *user_data
);
phosh_private_get_user_data ()
void *
phosh_private_get_user_data (struct phosh_private *phosh_private
);
phosh_private_get_version ()
uint32_t
phosh_private_get_version (struct phosh_private *phosh_private
);
phosh_private_destroy ()
void
phosh_private_destroy (struct phosh_private *phosh_private
);
phosh_private_rotate_display ()
void
phosh_private_rotate_display (struct phosh_private *phosh_private
,
struct wl_surface *surface
,
uint32_t degree
);
phosh_private_get_xdg_switcher ()
struct phosh_private_xdg_switcher *
phosh_private_get_xdg_switcher (struct phosh_private *phosh_private
);
phosh_private_xdg_switcher_add_listener ()
int
phosh_private_xdg_switcher_add_listener
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
,
const struct phosh_private_xdg_switcher_listener *listener
,
void *data
);
phosh_private_xdg_switcher_set_user_data ()
void
phosh_private_xdg_switcher_set_user_data
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
,
void *user_data
);
phosh_private_xdg_switcher_get_user_data ()
void *
phosh_private_xdg_switcher_get_user_data
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
);
phosh_private_xdg_switcher_get_version ()
uint32_t
phosh_private_xdg_switcher_get_version
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
);
phosh_private_xdg_switcher_list_xdg_surfaces ()
void
phosh_private_xdg_switcher_list_xdg_surfaces
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
);
phosh_private_xdg_switcher_destroy ()
void
phosh_private_xdg_switcher_destroy (struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
);
phosh_private_xdg_switcher_raise_xdg_surface ()
void
phosh_private_xdg_switcher_raise_xdg_surface
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
,
const char *app_id
,
const char *title
);
phosh_private_xdg_switcher_close_xdg_surface ()
void
phosh_private_xdg_switcher_close_xdg_surface
(struct phosh_private_xdg_switcher *phosh_private_xdg_switcher
,
const char *app_id
,
const char *title
);
Types and Values
PHOSH_PRIVATE_ERROR_ENUM
#define PHOSH_PRIVATE_ERROR_ENUM
PHOSH_PRIVATE_ROTATE_DISPLAY
#define PHOSH_PRIVATE_ROTATE_DISPLAY
PHOSH_PRIVATE_GET_XDG_SWITCHER
#define PHOSH_PRIVATE_GET_XDG_SWITCHER
PHOSH_PRIVATE_ROTATE_DISPLAY_SINCE_VERSION
#define PHOSH_PRIVATE_ROTATE_DISPLAY_SINCE_VERSION
PHOSH_PRIVATE_GET_XDG_SWITCHER_SINCE_VERSION
#define PHOSH_PRIVATE_GET_XDG_SWITCHER_SINCE_VERSION
PHOSH_PRIVATE_XDG_SWITCHER_ERROR_ENUM
#define PHOSH_PRIVATE_XDG_SWITCHER_ERROR_ENUM
enum phosh_private_xdg_switcher_error
struct phosh_private_xdg_switcher_listener
struct phosh_private_xdg_switcher_listener {
/**
* report an xdg surface
*
*
* @param app_id the app_id of the xdg surface
* @param title the title of the xdg surface
* @since 2
*/
void (*xdg_surface)(void *data,
struct phosh_private_xdg_switcher *phosh_private_xdg_switcher,
const char *app_id,
const char *title);
/**
* all xdg surfaces were sent
*
*
* @since 2
*/
void (*list_xdg_surfaces_done)(void *data,
struct phosh_private_xdg_switcher *phosh_private_xdg_switcher);
};
PHOSH_PRIVATE_XDG_SWITCHER_LIST_XDG_SURFACES
#define PHOSH_PRIVATE_XDG_SWITCHER_LIST_XDG_SURFACES
PHOSH_PRIVATE_XDG_SWITCHER_DESTROY
#define PHOSH_PRIVATE_XDG_SWITCHER_DESTROY
PHOSH_PRIVATE_XDG_SWITCHER_RAISE_XDG_SURFACE
#define PHOSH_PRIVATE_XDG_SWITCHER_RAISE_XDG_SURFACE
PHOSH_PRIVATE_XDG_SWITCHER_CLOSE_XDG_SURFACE
#define PHOSH_PRIVATE_XDG_SWITCHER_CLOSE_XDG_SURFACE
PHOSH_PRIVATE_XDG_SWITCHER_XDG_SURFACE_SINCE_VERSION
#define PHOSH_PRIVATE_XDG_SWITCHER_XDG_SURFACE_SINCE_VERSION
PHOSH_PRIVATE_XDG_SWITCHER_LIST_XDG_SURFACES_DONE_SINCE_VERSION
#define PHOSH_PRIVATE_XDG_SWITCHER_LIST_XDG_SURFACES_DONE_SINCE_VERSION
PHOSH_PRIVATE_XDG_SWITCHER_LIST_XDG_SURFACES_SINCE_VERSION
#define PHOSH_PRIVATE_XDG_SWITCHER_LIST_XDG_SURFACES_SINCE_VERSION
PHOSH_PRIVATE_XDG_SWITCHER_DESTROY_SINCE_VERSION
#define PHOSH_PRIVATE_XDG_SWITCHER_DESTROY_SINCE_VERSION
PHOSH_PRIVATE_XDG_SWITCHER_RAISE_XDG_SURFACE_SINCE_VERSION
#define PHOSH_PRIVATE_XDG_SWITCHER_RAISE_XDG_SURFACE_SINCE_VERSION
PHOSH_PRIVATE_XDG_SWITCHER_CLOSE_XDG_SURFACE_SINCE_VERSION
#define PHOSH_PRIVATE_XDG_SWITCHER_CLOSE_XDG_SURFACE_SINCE_VERSION
struct phosh_private
struct phosh_private;
struct phosh_private_xdg_switcher
struct phosh_private_xdg_switcher;
struct wl_surface
struct wl_surface;