1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- 2 * 3 * Copyright (C) 2017 Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program 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 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 * 18 */ 19 #ifndef FC_MONITOR_H 20 #define FC_MONITOR_H 21 22 #include <glib-object.h> 23 24 G_BEGIN_DECLS 25 26 #define FC_TYPE_MONITOR (fc_monitor_get_type ()) 27 G_DECLARE_FINAL_TYPE (FcMonitor, fc_monitor, FC, MONITOR, GObject) 28 29 FcMonitor *fc_monitor_new (void); 30 31 void fc_monitor_start (FcMonitor *monitor); 32 void fc_monitor_stop (FcMonitor *monitor); 33 34 G_END_DECLS 35 36 #endif /* FC_MONITOR_H */ 37