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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef META_STARTUP_NOTIFICATION_H
|
|
|
|
#define META_STARTUP_NOTIFICATION_H
|
|
|
|
|
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 ())
|
|
|
|
|
|
|
|
typedef struct _MetaStartupNotification MetaStartupNotification;
|
|
|
|
typedef struct _MetaStartupSequence MetaStartupSequence;
|
|
|
|
|
2019-01-20 11:41:53 -05:00
|
|
|
#ifdef __GI_SCANNER__
|
2018-08-22 16:56:18 -04:00
|
|
|
GType meta_startup_notification_get_type (void);
|
2019-01-20 11:41:53 -05:00
|
|
|
#endif
|
2018-08-22 16:56:18 -04:00
|
|
|
|
2018-11-27 11:11:15 -05:00
|
|
|
/**
|
|
|
|
* meta_startup_notification_get_sequences: (skip)
|
|
|
|
*/
|
2018-08-22 16:56:18 -04:00
|
|
|
GSList * meta_startup_notification_get_sequences (MetaStartupNotification *sn);
|
|
|
|
|
2018-12-13 13:02:19 -05:00
|
|
|
MetaLaunchContext *
|
|
|
|
meta_startup_notification_create_launcher (MetaStartupNotification *sn);
|
|
|
|
|
2019-01-20 11:41:53 -05:00
|
|
|
#ifdef __GI_SCANNER__
|
2018-08-22 16:56:18 -04:00
|
|
|
GType meta_startup_sequence_get_type (void);
|
2019-01-20 11:41:53 -05:00
|
|
|
#endif
|
2018-08-22 16:56:18 -04:00
|
|
|
|
|
|
|
const char * meta_startup_sequence_get_id (MetaStartupSequence *sequence);
|
|
|
|
gboolean meta_startup_sequence_get_completed (MetaStartupSequence *sequence);
|
|
|
|
const char * meta_startup_sequence_get_name (MetaStartupSequence *sequence);
|
|
|
|
int meta_startup_sequence_get_workspace (MetaStartupSequence *sequence);
|
|
|
|
uint64_t meta_startup_sequence_get_timestamp (MetaStartupSequence *sequence);
|
|
|
|
const char * meta_startup_sequence_get_icon_name (MetaStartupSequence *sequence);
|
|
|
|
const char * meta_startup_sequence_get_application_id (MetaStartupSequence *sequence);
|
|
|
|
const char * meta_startup_sequence_get_wmclass (MetaStartupSequence *sequence);
|
|
|
|
|
|
|
|
void meta_startup_sequence_complete (MetaStartupSequence *sequence);
|
|
|
|
|
|
|
|
#endif /* META_STARTUP_NOTIFICATION_H */
|