2018-08-22 16:56:18 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2023-07-21 09:37:20 -04:00
|
|
|
#pragma once
|
2018-08-22 16:56:18 -04:00
|
|
|
|
2018-12-13 13:02:19 -05:00
|
|
|
#include <meta/meta-launch-context.h>
|
|
|
|
|
2018-08-22 16:56:18 -04:00
|
|
|
#define META_TYPE_STARTUP_SEQUENCE (meta_startup_sequence_get_type ())
|
|
|
|
#define META_TYPE_STARTUP_NOTIFICATION (meta_startup_notification_get_type ())
|
|
|
|
|
2019-01-24 06:40:27 -05:00
|
|
|
META_EXPORT
|
|
|
|
G_DECLARE_FINAL_TYPE (MetaStartupNotification,
|
|
|
|
meta_startup_notification,
|
|
|
|
META, STARTUP_NOTIFICATION,
|
|
|
|
GObject)
|
2018-08-22 16:56:18 -04:00
|
|
|
|
2019-01-24 06:40:27 -05:00
|
|
|
META_EXPORT
|
|
|
|
G_DECLARE_DERIVABLE_TYPE (MetaStartupSequence,
|
|
|
|
meta_startup_sequence,
|
|
|
|
META, STARTUP_SEQUENCE,
|
|
|
|
GObject)
|
2018-08-22 16:56:18 -04:00
|
|
|
|
2019-01-22 21:25:35 -05:00
|
|
|
META_EXPORT
|
2018-08-22 16:56:18 -04:00
|
|
|
GSList * meta_startup_notification_get_sequences (MetaStartupNotification *sn);
|
|
|
|
|
2019-01-22 21:25:35 -05:00
|
|
|
META_EXPORT
|
2018-12-13 13:02:19 -05:00
|
|
|
MetaLaunchContext *
|
|
|
|
meta_startup_notification_create_launcher (MetaStartupNotification *sn);
|
|
|
|
|
2019-01-22 21:25:35 -05:00
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
const char * meta_startup_sequence_get_id (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
gboolean meta_startup_sequence_get_completed (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
const char * meta_startup_sequence_get_name (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
int meta_startup_sequence_get_workspace (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
uint64_t meta_startup_sequence_get_timestamp (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
const char * meta_startup_sequence_get_icon_name (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
const char * meta_startup_sequence_get_application_id (MetaStartupSequence *seq);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
const char * meta_startup_sequence_get_wmclass (MetaStartupSequence *seq);
|
2018-08-22 16:56:18 -04:00
|
|
|
|
2019-01-22 21:25:35 -05:00
|
|
|
META_EXPORT
|
2022-04-13 06:03:27 -04:00
|
|
|
void meta_startup_sequence_complete (MetaStartupSequence *seq);
|