Blame gdk/gdkspawn.h

Packit 98cdb6
/*
Packit 98cdb6
 * Copyright (C) 2003 Sun Microsystems Inc.
Packit 98cdb6
 *
Packit 98cdb6
 * This library is free software; you can redistribute it and/or
Packit 98cdb6
 * modify it under the terms of the GNU Library General Public
Packit 98cdb6
 * License as published by the Free Software Foundation; either
Packit 98cdb6
 * version 2 of the License, or (at your option) any later version.
Packit 98cdb6
 *
Packit 98cdb6
 * This library is distributed in the hope that it will be useful,
Packit 98cdb6
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 98cdb6
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 98cdb6
 * Library General Public License for more details.
Packit 98cdb6
 *
Packit 98cdb6
 * You should have received a copy of the GNU Library General Public
Packit 98cdb6
 * License along with this library; if not, write to the
Packit 98cdb6
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit 98cdb6
 * Boston, MA 02111-1307, USA.
Packit 98cdb6
 *
Packit 98cdb6
 * Authors: Mark McLoughlin <mark@skynet.ie>
Packit 98cdb6
 */
Packit 98cdb6
Packit 98cdb6
#ifndef __GDK_SPAWN_H__
Packit 98cdb6
#define __GDK_SPAWN_H__
Packit 98cdb6
Packit 98cdb6
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
Packit 98cdb6
#error "Only <gdk/gdk.h> can be included directly."
Packit 98cdb6
#endif
Packit 98cdb6
Packit 98cdb6
#include <gdk/gdkscreen.h>
Packit 98cdb6
Packit 98cdb6
G_BEGIN_DECLS
Packit 98cdb6
Packit 98cdb6
#ifndef GDK_DISABLE_DEPRECATED
Packit 98cdb6
gboolean gdk_spawn_on_screen              (GdkScreen             *screen,
Packit 98cdb6
					   const gchar           *working_directory,
Packit 98cdb6
					   gchar                **argv,
Packit 98cdb6
					   gchar                **envp,
Packit 98cdb6
					   GSpawnFlags            flags,
Packit 98cdb6
					   GSpawnChildSetupFunc   child_setup,
Packit 98cdb6
					   gpointer               user_data,
Packit 98cdb6
					   gint                  *child_pid,
Packit 98cdb6
					   GError               **error);
Packit 98cdb6
Packit 98cdb6
gboolean gdk_spawn_on_screen_with_pipes   (GdkScreen             *screen,
Packit 98cdb6
					   const gchar           *working_directory,
Packit 98cdb6
					   gchar                **argv,
Packit 98cdb6
					   gchar                **envp,
Packit 98cdb6
					   GSpawnFlags            flags,
Packit 98cdb6
					   GSpawnChildSetupFunc   child_setup,
Packit 98cdb6
					   gpointer               user_data,
Packit 98cdb6
					   gint                  *child_pid,
Packit 98cdb6
					   gint                  *standard_input,
Packit 98cdb6
					   gint                  *standard_output,
Packit 98cdb6
					   gint                  *standard_error,
Packit 98cdb6
					   GError               **error);
Packit 98cdb6
Packit 98cdb6
gboolean gdk_spawn_command_line_on_screen (GdkScreen             *screen,
Packit 98cdb6
					   const gchar           *command_line,
Packit 98cdb6
					   GError               **error);
Packit 98cdb6
#endif
Packit 98cdb6
Packit 98cdb6
G_END_DECLS
Packit 98cdb6
Packit 98cdb6
#endif /* __GDK_SPAWN_H__ */