2013-08-19 12:57:16 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 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
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
* 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2014-04-22 21:03:22 +00:00
|
|
|
#ifndef META_LAUNCHER_H
|
|
|
|
#define META_LAUNCHER_H
|
2013-08-19 12:57:16 +00:00
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
|
2022-05-27 17:35:01 +00:00
|
|
|
#include "backends/meta-backend-types.h"
|
|
|
|
|
2013-12-31 23:03:31 +00:00
|
|
|
typedef struct _MetaLauncher MetaLauncher;
|
2023-01-27 15:23:14 +00:00
|
|
|
typedef struct _MetaDBusLogin1Session MetaDBusLogin1Session;
|
2013-08-19 12:57:16 +00:00
|
|
|
|
2022-05-27 17:35:01 +00:00
|
|
|
MetaLauncher *meta_launcher_new (MetaBackend *backend,
|
|
|
|
const char *session_id,
|
2021-12-10 23:28:37 +00:00
|
|
|
const char *custom_seat_id,
|
|
|
|
GError **error);
|
2013-12-31 23:03:31 +00:00
|
|
|
void meta_launcher_free (MetaLauncher *self);
|
2013-08-19 12:57:16 +00:00
|
|
|
|
2014-01-16 18:40:41 +00:00
|
|
|
gboolean meta_launcher_activate_vt (MetaLauncher *self,
|
2020-02-19 18:21:32 +00:00
|
|
|
signed char vt,
|
|
|
|
GError **error);
|
2014-04-22 21:08:57 +00:00
|
|
|
|
2017-07-06 08:00:56 +00:00
|
|
|
const char * meta_launcher_get_seat_id (MetaLauncher *launcher);
|
|
|
|
|
2023-01-27 15:23:14 +00:00
|
|
|
MetaDBusLogin1Session * meta_launcher_get_session_proxy (MetaLauncher *launcher);
|
2021-03-31 16:28:19 +00:00
|
|
|
|
2022-05-27 17:35:01 +00:00
|
|
|
MetaBackend * meta_launcher_get_backend (MetaLauncher *launcher);
|
|
|
|
|
2016-08-18 02:57:01 +00:00
|
|
|
|
2014-04-22 21:03:22 +00:00
|
|
|
#endif /* META_LAUNCHER_H */
|