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);
|