diff options
author | mbkma <[email protected]> | 2021-04-24 19:45:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-05-09 19:09:50 +0200 |
commit | 0b648d5782a9b6f050e6552bf62700495e161835 (patch) | |
tree | c9185497e98f3593f6243afb8466acffbd1e2de8 /src/bacon-message-connection.h | |
parent | c12b68367de45f1f7c28a9517a3e610873d2b9e4 (diff) | |
download | mate-system-monitor-0b648d5782a9b6f050e6552bf62700495e161835.tar.bz2 mate-system-monitor-0b648d5782a9b6f050e6552bf62700495e161835.tar.xz |
port to GtkApplication
see https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/commit/aa625d19e7b72587f70fb18dc3dcfcdba528533e
Diffstat (limited to 'src/bacon-message-connection.h')
-rw-r--r-- | src/bacon-message-connection.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/bacon-message-connection.h b/src/bacon-message-connection.h deleted file mode 100644 index 1c70e43..0000000 --- a/src/bacon-message-connection.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2003 Bastien Nocera <[email protected]> - * - * 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. - * - * 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. - * - */ - -#ifndef BACON_MESSAGE_CONNECTION_H -#define BACON_MESSAGE_CONNECTION_H - -#include <glib.h> - -G_BEGIN_DECLS - -typedef void (*BaconMessageReceivedFunc) (const char *message, - gpointer user_data); - -typedef struct BaconMessageConnection BaconMessageConnection; - -BaconMessageConnection *bacon_message_connection_new (const char *prefix); -void bacon_message_connection_free (BaconMessageConnection *conn); -void bacon_message_connection_set_callback (BaconMessageConnection *conn, - BaconMessageReceivedFunc func, - gpointer user_data); -void bacon_message_connection_send (BaconMessageConnection *conn, - const char *message); -gboolean bacon_message_connection_get_is_server (BaconMessageConnection *conn); - -G_END_DECLS - -#endif /* BACON_MESSAGE_CONNECTION_H */ |