Blame libgeoclue/gclue-helpers.h

Packit Service b2c451
/* vim: set et ts=8 sw=8: */
Packit Service b2c451
/*
Packit Service b2c451
 * Geoclue convenience library.
Packit Service b2c451
 *
Packit Service b2c451
 * Copyright 2015 Red Hat, Inc.
Packit Service b2c451
 *
Packit Service b2c451
 * This library is free software; you can redistribute it and/or
Packit Service b2c451
 * modify it under the terms of the GNU Lesser General Public
Packit Service b2c451
 * License as published by the Free Software Foundation; either
Packit Service b2c451
 * version 2.1 of the License, or (at your option) any later version.
Packit Service b2c451
 *
Packit Service b2c451
 * This library is distributed in the hope that it will be useful,
Packit Service b2c451
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service b2c451
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service b2c451
 * Lesser General Public License for more details.
Packit Service b2c451
 *
Packit Service b2c451
 * You should have received a copy of the GNU Lesser General Public
Packit Service b2c451
 * License along with this library; if not, write to the Free Software
Packit Service b2c451
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
Packit Service b2c451
 *
Packit Service b2c451
 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Packit Service b2c451
 */
Packit Service b2c451
Packit Service b2c451
#ifndef __GCLUE_HELPERS_H__
Packit Service b2c451
#define __GCLUE_HELPERS_H__
Packit Service b2c451
Packit Service b2c451
#include <glib-object.h>
Packit Service b2c451
#include <gio/gio.h>
Packit Service b2c451
#include <geoclue.h>
Packit Service b2c451
Packit Service b2c451
G_BEGIN_DECLS
Packit Service b2c451
Packit Service b2c451
void            gclue_client_proxy_create        (const char         *desktop_id,
Packit Service b2c451
                                                  GClueAccuracyLevel  accuracy_level,
Packit Service b2c451
                                                  GCancellable       *cancellable,
Packit Service b2c451
                                                  GAsyncReadyCallback callback,
Packit Service b2c451
                                                  gpointer            user_data);
Packit Service b2c451
GClueClient *   gclue_client_proxy_create_finish (GAsyncResult       *result,
Packit Service b2c451
                                                  GError            **error);
Packit Service b2c451
GClueClient *   gclue_client_proxy_create_sync   (const char         *desktop_id,
Packit Service b2c451
                                                  GClueAccuracyLevel  accuracy_level,
Packit Service b2c451
                                                  GCancellable       *cancellable,
Packit Service b2c451
                                                  GError            **error);
Packit Service b2c451
Packit Service b2c451
void            gclue_client_proxy_create_full        (const char                   *desktop_id,
Packit Service b2c451
                                                       GClueAccuracyLevel            accuracy_level,
Packit Service b2c451
                                                       GClueClientProxyCreateFlags   flags,
Packit Service b2c451
                                                       GCancellable                 *cancellable,
Packit Service b2c451
                                                       GAsyncReadyCallback           callback,
Packit Service b2c451
                                                       gpointer                      user_data);
Packit Service b2c451
GClueClient *   gclue_client_proxy_create_full_finish (GAsyncResult                 *result,
Packit Service b2c451
                                                       GError                      **error);
Packit Service b2c451
GClueClient *   gclue_client_proxy_create_full_sync   (const char                   *desktop_id,
Packit Service b2c451
                                                       GClueAccuracyLevel            accuracy_level,
Packit Service b2c451
                                                       GClueClientProxyCreateFlags  flags,
Packit Service b2c451
                                                       GCancellable                 *cancellable,
Packit Service b2c451
                                                       GError                      **error);
Packit Service b2c451
Packit Service b2c451
G_END_DECLS
Packit Service b2c451
Packit Service b2c451
#endif /* #ifndef __GCLUE_HELPERS_H__*/