Blame lib/bluetooth-settings-obexpush.h

Packit 8fb625
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
Packit 8fb625
Packit 8fb625
/*
Packit 8fb625
 *  Copyright (C) 2004-2008 Red Hat, Inc.
Packit 8fb625
 *  Copyright (C) 2013 Intel Corporation.
Packit 8fb625
 *
Packit 8fb625
 *  Nautilus is free software; you can redistribute it and/or
Packit 8fb625
 *  modify it under the terms of the GNU General Public License as
Packit 8fb625
 *  published by the Free Software Foundation; either version 2 of the
Packit 8fb625
 *  License, or (at your option) any later version.
Packit 8fb625
 *
Packit 8fb625
 *  Nautilus is distributed in the hope that it will be useful,
Packit 8fb625
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 8fb625
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 8fb625
 *  General Public License for more details.
Packit 8fb625
 *
Packit 8fb625
 *  You should have received a copy of the GNU General Public License
Packit 8fb625
 *  along with this program; if not, write to the Free Software
Packit 8fb625
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit 8fb625
 *
Packit 8fb625
 *  Authors: Bastien Nocera <hadess@hadess.net>
Packit 8fb625
 *  Authors: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Packit 8fb625
 *
Packit 8fb625
 */
Packit 8fb625
Packit 8fb625
#ifndef __OBEX_AGENT_H__
Packit 8fb625
#define __OBEX_AGENT_H__
Packit 8fb625
Packit 8fb625
#include <glib-object.h>
Packit 8fb625
Packit 8fb625
G_BEGIN_DECLS
Packit 8fb625
Packit 8fb625
typedef struct _ObexAgent {
Packit 8fb625
	GObject parent;
Packit 8fb625
	guint owner_id;
Packit 8fb625
	guint object_reg_id;
Packit 8fb625
	guint obexd_watch_id;
Packit 8fb625
	GDBusConnection *connection;
Packit 8fb625
} ObexAgent;
Packit 8fb625
Packit 8fb625
typedef struct _ObexAgentClass {
Packit 8fb625
	GObjectClass parent;
Packit 8fb625
} ObexAgentClass;
Packit 8fb625
Packit 8fb625
GType obex_agent_get_type (void);
Packit 8fb625
Packit 8fb625
#define OBEX_AGENT_TYPE              (obex_agent_get_type ())
Packit 8fb625
#define OBEX_AGENT(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), OBEX_AGENT_TYPE, ObexAgent))
Packit 8fb625
#define OBEX_AGENT_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), OBEX_AGENT_TYPE, ObexAgentClass))
Packit 8fb625
#define IS_OBEX_AGENT(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), OBEX_AGENT_TYPE))
Packit 8fb625
#define IS_OBEX_AGENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), OBEX_AGENT_TYPE))
Packit 8fb625
#define OBEX_AGENT_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), OBEX_AGENT_TYPE, ObexAgentClass))
Packit 8fb625
Packit 8fb625
void     obex_agent_up (void);
Packit 8fb625
void     obex_agent_down (void);
Packit 8fb625
char    *lookup_download_dir (void);
Packit 8fb625
Packit 8fb625
G_END_DECLS
Packit 8fb625
Packit 8fb625
#endif