diff options
Diffstat (limited to 'thunar-volman/tvm-run.h')
-rw-r--r-- | thunar-volman/tvm-run.h | 51 |
1 files changed, 21 insertions, 30 deletions
diff --git a/thunar-volman/tvm-run.h b/thunar-volman/tvm-run.h index 9e50a98..cd450db 100644 --- a/thunar-volman/tvm-run.h +++ b/thunar-volman/tvm-run.h @@ -1,45 +1,36 @@ -/* $Id$ */ +/* vi:set et ai sw=2 sts=2 ts=2: */ /*- - * Copyright (c) 2007 Benedikt Meurer <benny@xfce.org>. + * Copyright (c) 2010 Jannis Pohlmann <jannis@xfce.org> * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. * - * This program 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 General Public License for - * more details. + * This program 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 General Public License for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 Temple - * Place, Suite 330, Boston, MA 02111-1307 USA + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. */ #ifndef __TVM_RUN_H__ #define __TVM_RUN_H__ -#include <thunar-volman/tvm-device.h> +#include <gio/gio.h> -G_BEGIN_DECLS - -gboolean tvm_run_cdburner (TvmPreferences *preferences, - LibHalContext *context, - const gchar *udi, - GError **error) G_GNUC_INTERNAL; +#include <thunar-volman/tvm-context.h> -gboolean tvm_run_cdplayer (TvmPreferences *preferences, - LibHalContext *context, - const gchar *udi, - GError **error) G_GNUC_INTERNAL; +G_BEGIN_DECLS -gboolean tvm_run_command (LibHalContext *context, - const gchar *udi, - const gchar *command, - const gchar *device_file, - const gchar *mount_point, - GError **error) G_GNUC_INTERNAL; +gboolean tvm_run_command (TvmContext *context, + GMount *mount, + const gchar *command, + GError **error); G_END_DECLS |