File: splash.h

package info (click to toggle)
phosh 0.51.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,620 kB
  • sloc: ansic: 81,727; xml: 3,903; python: 502; sh: 456; makefile: 34; lisp: 22; javascript: 6
file content (28 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (C) 2021 Purism SPC
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#pragma once

#include <gtk/gtk.h>
#include "layersurface.h"

#include <gio/gdesktopappinfo.h>

#define PHOSH_TYPE_SPLASH (phosh_splash_get_type ())

G_DECLARE_DERIVABLE_TYPE (PhoshSplash, phosh_splash, PHOSH, SPLASH, PhoshLayerSurface)

/**
 * PhoshSplashClass
 * @parent_class: The parent class
 */
struct _PhoshSplashClass {
  PhoshLayerSurfaceClass parent_class;
};


GtkWidget *phosh_splash_new (GDesktopAppInfo *info, gboolean prefer_dark);
void       phosh_splash_hide (PhoshSplash *self);