2017-06-21 02:23:44 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2015-2017 Red Hat Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2023-08-07 05:50:23 -04:00
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2017-06-21 02:23:44 -04:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-07-21 09:37:20 -04:00
|
|
|
#pragma once
|
2017-06-21 02:23:44 -04:00
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
|
2021-02-23 02:59:43 -05:00
|
|
|
#include "backends/meta-backend-types.h"
|
2022-03-11 03:39:07 -05:00
|
|
|
#include "backends/meta-dbus-session-manager.h"
|
2017-06-21 02:23:44 -04:00
|
|
|
#include "backends/meta-dbus-session-watcher.h"
|
2018-07-10 04:36:24 -04:00
|
|
|
|
2017-06-21 02:23:44 -04:00
|
|
|
#include "meta-dbus-remote-desktop.h"
|
|
|
|
|
2023-08-28 11:21:35 -04:00
|
|
|
typedef enum _MetaRemoteDesktopDeviceTypes
|
|
|
|
{
|
|
|
|
META_REMOTE_DESKTOP_DEVICE_TYPE_NONE = 0,
|
|
|
|
META_REMOTE_DESKTOP_DEVICE_TYPE_KEYBOARD = 1 << 0,
|
|
|
|
META_REMOTE_DESKTOP_DEVICE_TYPE_POINTER = 1 << 1,
|
|
|
|
META_REMOTE_DESKTOP_DEVICE_TYPE_TOUCHSCREEN = 1 << 2,
|
|
|
|
} MetaRemoteDesktopDeviceTypes;
|
|
|
|
|
2017-06-21 02:23:44 -04:00
|
|
|
typedef struct _MetaRemoteDesktopSession MetaRemoteDesktopSession;
|
|
|
|
|
|
|
|
#define META_TYPE_REMOTE_DESKTOP (meta_remote_desktop_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (MetaRemoteDesktop, meta_remote_desktop,
|
|
|
|
META, REMOTE_DESKTOP,
|
2022-03-11 03:39:07 -05:00
|
|
|
MetaDbusSessionManager)
|
2017-06-21 02:23:44 -04:00
|
|
|
|
2022-03-11 03:39:07 -05:00
|
|
|
MetaRemoteDesktop * meta_remote_desktop_new (MetaBackend *backend);
|