mirror of https://github.com/dnomd343/gdbus-demo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
592 B
23 lines
592 B
3 years ago
|
#ifndef _CLIENT_H_
|
||
|
#define _CLIENT_H_
|
||
|
|
||
|
#include <string.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <ctype.h>
|
||
|
#include <stdbool.h>
|
||
|
#include <gio/gio.h>
|
||
|
#include <glib.h>
|
||
|
#include "gdbus_demo_gen.h"
|
||
|
|
||
|
static ComGdbusDemo *proxy = NULL;
|
||
|
static GMainLoop *main_loop = NULL;
|
||
|
static GDBusConnection *connection = NULL;
|
||
|
|
||
|
bool init_dbus_client();
|
||
|
static void* start_main_loop(void*);
|
||
|
static gboolean receive_signal_1(ComGdbusDemo*, const gint*, gpointer);
|
||
|
static gboolean receive_signal_2(ComGdbusDemo*, const gdouble*, gpointer);
|
||
|
static gboolean receive_signal_3(ComGdbusDemo*, const gchar*, gpointer);
|
||
|
|
||
|
#endif
|