Blame src/grl-operation.h

Packit 67b98c
/*
Packit 67b98c
 * Copyright (C) 2011 Igalia S.L.
Packit 67b98c
 *
Packit 67b98c
 * Contact: Iago Toral Quiroga <itoral@igalia.com>
Packit 67b98c
 *
Packit 67b98c
 * This library is free software; you can redistribute it and/or
Packit 67b98c
 * modify it under the terms of the GNU Lesser General Public License
Packit 67b98c
 * as published by the Free Software Foundation; version 2.1 of
Packit 67b98c
 * the License, or (at your option) any later version.
Packit 67b98c
 *
Packit 67b98c
 * This library is distributed in the hope that it will be useful, but
Packit 67b98c
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 67b98c
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Packit 67b98c
 * Lesser General Public License for more details.
Packit 67b98c
 *
Packit 67b98c
 * You should have received a copy of the GNU Lesser General Public
Packit 67b98c
 * License along with this library; if not, write to the Free Software
Packit 67b98c
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
Packit 67b98c
 * 02110-1301 USA
Packit 67b98c
 *
Packit 67b98c
 */
Packit 67b98c
Packit 67b98c
#if !defined (_GRILO_H_INSIDE_) && !defined (GRILO_COMPILATION)
Packit 67b98c
#error "Only <grilo.h> can be included directly."
Packit 67b98c
#endif
Packit 67b98c
Packit 67b98c
#ifndef _GRL_OPERATION_H_
Packit 67b98c
#define _GRL_OPERATION_H_
Packit 67b98c
Packit 67b98c
#include <glib.h>
Packit 67b98c
Packit 67b98c
G_BEGIN_DECLS
Packit 67b98c
Packit 67b98c
void grl_operation_cancel (guint operation_id);
Packit 67b98c
Packit 67b98c
gpointer grl_operation_get_data (guint operation_id);
Packit 67b98c
Packit 67b98c
void grl_operation_set_data (guint operation_id, gpointer user_data);
Packit 67b98c
Packit 67b98c
void grl_operation_set_data_full (guint operation_id, gpointer user_data, GDestroyNotify destroy_func);
Packit 67b98c
Packit 67b98c
G_END_DECLS
Packit 67b98c
Packit 67b98c
#endif /* _GRL_OPERATION_H_ */