GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 1
Functions: 0.0% 0 / 0 / 1
Branches: 0.0% 0 / 0 / 6

shumate/shumate-compass.h
Line Branch Exec Source
1 /*
2 * Copyright (C) 2021 Collabora Ltd. (https://www.collabora.com)
3 * Copyright (C) 2021 Corentin Noël <corentin.noel@collabora.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 #if !defined (__SHUMATE_SHUMATE_H_INSIDE__) && !defined (SHUMATE_COMPILATION)
21 #error "Only <shumate/shumate.h> can be included directly."
22 #endif
23
24 #ifndef SHUMATE_COMPASS_H
25 #define SHUMATE_COMPASS_H
26
27 #include <shumate/shumate-viewport.h>
28
29 #include <glib-object.h>
30 #include <gtk/gtk.h>
31
32 G_BEGIN_DECLS
33
34 #define SHUMATE_TYPE_COMPASS (shumate_compass_get_type())
35
36 ✗ G_DECLARE_FINAL_TYPE (ShumateCompass, shumate_compass, SHUMATE, COMPASS, GtkWidget)
37
38 ShumateCompass *shumate_compass_new (ShumateViewport *viewport);
39
40 ShumateViewport *shumate_compass_get_viewport (ShumateCompass *compass);
41 void shumate_compass_set_viewport (ShumateCompass *compass,
42 ShumateViewport *viewport);
43
44 G_END_DECLS
45
46 #endif
47