Line |
Branch |
Exec |
Source |
1 |
|
|
/* cc-format-preview.c |
2 |
|
|
* |
3 |
|
|
* Copyright (C) 2013 Red Hat, Inc. |
4 |
|
|
* Copyright (C) 2020 System76, Inc. |
5 |
|
|
* |
6 |
|
|
* This program is free software; you can redistribute it and/or |
7 |
|
|
* modify it under the terms of the GNU General Public License as |
8 |
|
|
* published by the Free Software Foundation; either version 2 of the |
9 |
|
|
* License, or (at your option) any later version. |
10 |
|
|
* |
11 |
|
|
* This program is distributed in the hope that it will be useful, but |
12 |
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 |
|
|
* General Public License for more details. |
15 |
|
|
* |
16 |
|
|
* You should have received a copy of the GNU General Public License |
17 |
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>. |
18 |
|
|
* |
19 |
|
|
* Written by: |
20 |
|
|
* Matthias Clasen |
21 |
|
|
* Ian Douglas Scott <idscott@system76.com> |
22 |
|
|
* |
23 |
|
|
* SPDX-License-Identifier: GPL-2.0-or-later |
24 |
|
|
*/ |
25 |
|
|
|
26 |
|
|
#pragma once |
27 |
|
|
|
28 |
|
|
#include <gtk/gtk.h> |
29 |
|
|
|
30 |
|
|
G_BEGIN_DECLS |
31 |
|
|
|
32 |
|
|
#define CC_TYPE_FORMAT_PREVIEW (cc_format_preview_get_type()) |
33 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcFormatPreview, cc_format_preview, CC, FORMAT_PREVIEW, GtkBox) |
34 |
|
|
|
35 |
|
|
void cc_format_preview_set_region (CcFormatPreview *preview, |
36 |
|
|
const gchar *region); |
37 |
|
|
|
38 |
|
|
G_END_DECLS |
39 |
|
|
|