From 5d9cbe65cdf296d9a69c93712243617dd6ba6848 Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Thu, 28 Sep 2023 10:41:46 +0800 Subject: Add new capplets: system info --- capplets/system-info/mate-system-info.h | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 capplets/system-info/mate-system-info.h (limited to 'capplets/system-info/mate-system-info.h') diff --git a/capplets/system-info/mate-system-info.h b/capplets/system-info/mate-system-info.h new file mode 100644 index 00000000..72d89ece --- /dev/null +++ b/capplets/system-info/mate-system-info.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2023 MATE Developers + * + * 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, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + +#include +#include +#include +#include +#include +#include + +#ifndef __MATE_SYSTEM_INFO_H__ +#define __MATE_SYSTEM_INFO_H__ 1 + +G_BEGIN_DECLS + +#define MATE_TYPE_SYSTEM_INFO (mate_system_info_get_type ()) +G_DECLARE_FINAL_TYPE (MateSystemInfo, mate_system_info, MATE, SYSTEM_INFO, GtkDialog) + +GtkWidget *mate_system_info_new (void); + +void mate_system_info_setup (MateSystemInfo *info); + +G_END_DECLS + +#endif -- cgit v1.2.1