blob: b5b09a050f4f45084f6fab44595d52af6cf9f957 [file] [log] [blame]
Stepan Salenikovich2cde7612015-09-25 10:44:01 -04001/*
Guillaume Roguez77c579d2018-01-30 15:54:02 -05002 * Copyright (C) 2015-2018 Savoir-faire Linux Inc.
Stepan Salenikovich2cde7612015-09-25 10:44:01 -04003 * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
Sébastien Blin55bff9d2017-10-03 15:15:23 -04004 * Author: Nicolas Jäger <nicolas.jager@savoirfairelinux.com>
5 * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
Stepan Salenikovich2cde7612015-09-25 10:44:01 -04006 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22#pragma once
23
24#include <gtk/gtk.h>
25
Hugo Lefeuvre6f2ceb12018-04-18 15:08:01 -040026#include "api/account.h"
27
28#include "accountinfopointer.h"
Sébastien Blin55bff9d2017-10-03 15:15:23 -040029
Stepan Salenikovich2cde7612015-09-25 10:44:01 -040030G_BEGIN_DECLS
31
32#define RING_WELCOME_VIEW_TYPE (ring_welcome_view_get_type ())
33#define RING_WELCOME_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RING_WELCOME_VIEW_TYPE, RingWelcomeView))
34#define RING_WELCOME_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), RING_WELCOME_VIEW_TYPE, RingWelcomeViewClass))
35#define IS_RING_WELCOME_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), RING_WELCOME_VIEW_TYPE))
36#define IS_RING_WELCOME_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), RING_WELCOME_VIEW_TYPE))
37
38typedef struct _RingWelcomeView RingWelcomeView;
39typedef struct _RingWelcomeViewClass RingWelcomeViewClass;
40
41GType ring_welcome_view_get_type (void) G_GNUC_CONST;
Hugo Lefeuvre6f2ceb12018-04-18 15:08:01 -040042GtkWidget* ring_welcome_view_new (AccountInfoPointer const & accountInfo);
43void ring_welcome_update_view (RingWelcomeView* self);
Stepan Salenikovich2cde7612015-09-25 10:44:01 -040044
45G_END_DECLS