2015-06-30 18:06:36 +02:00
|
|
|
/* Pinos
|
2015-04-29 17:51:51 +02:00
|
|
|
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library 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
|
|
|
|
|
* Library General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
struct _PvContextPrivate
|
|
|
|
|
{
|
|
|
|
|
GMainContext *context;
|
|
|
|
|
|
|
|
|
|
gchar *name;
|
|
|
|
|
GVariant *properties;
|
|
|
|
|
|
|
|
|
|
guint id;
|
|
|
|
|
GDBusConnection *connection;
|
|
|
|
|
|
|
|
|
|
PvContextFlags flags;
|
2015-05-04 10:38:26 +02:00
|
|
|
|
2015-04-29 17:51:51 +02:00
|
|
|
PvContextState state;
|
2015-05-04 10:38:26 +02:00
|
|
|
GError *error;
|
2015-04-29 17:51:51 +02:00
|
|
|
|
2015-05-04 10:38:26 +02:00
|
|
|
GDBusProxy *daemon;
|
|
|
|
|
GDBusProxy *client;
|
2015-04-29 17:51:51 +02:00
|
|
|
|
|
|
|
|
PvSubscriptionFlags subscription_mask;
|
|
|
|
|
PvSubscribe *subscribe;
|
|
|
|
|
|
|
|
|
|
GList *sources;
|
|
|
|
|
};
|