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.
17 lines
411 B
17 lines
411 B
3 years ago
|
#ifndef _CLIENT_H_
|
||
|
#define _CLIENT_H_
|
||
|
|
||
|
#include "gdbus_demo_gen.h"
|
||
|
|
||
|
bool complete = false;
|
||
|
static GMainLoop *main_loop = nullptr;
|
||
|
static ComGdbusDemo *proxy = nullptr;
|
||
|
static GDBusConnection *connection = nullptr;
|
||
|
|
||
|
bool init_dbus_client();
|
||
|
static void* start_main_loop(void*);
|
||
|
static void method_call(const gchar*);
|
||
|
static gboolean receive_signal(ComGdbusDemo*, const gchar*, gpointer);
|
||
|
|
||
|
#endif
|