blob: c05f8b205abb547367c680939089332451c0cf54 (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*
* mate-calc-application.h - GtkApplication for MATE Calculator
*
* Copyright (C) 2024 MATE Desktop Team
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 2 of the License, or (at your option) any later
* version. See http://www.gnu.org/copyleft/gpl.html the full text of the
* license.
*/
#ifndef MATE_CALC_APPLICATION_H
#define MATE_CALC_APPLICATION_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define MATE_CALC_TYPE_APPLICATION (mate_calc_application_get_type())
G_DECLARE_FINAL_TYPE(MateCalcApplication, mate_calc_application, MATE_CALC, APPLICATION, GtkApplication)
/**
* mate_calc_application_new:
*
* Creates a new MateCalcApplication instance.
*
* Returns: (transfer full): A new MateCalcApplication
*/
MateCalcApplication *mate_calc_application_new(void);
/**
* mate_calc_application_get_settings:
* @app: A MateCalcApplication
*
* Gets the GSettings object for the calculator.
*
* Returns: (transfer none): The GSettings object
*/
GSettings *mate_calc_application_get_settings(MateCalcApplication *app);
G_END_DECLS
#endif /* MATE_CALC_APPLICATION_H */
|