summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/gtk2/src/glib/gshell.inc
blob: 8fb14b6ac973d9df824fff67f78b15e2620f695d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// included by glib2.pas

{$IFDEF read_forward_definitions}
{$ENDIF read_forward_definitions}

//------------------------------------------------------------------------------

{$IFDEF read_interface_types}
  PGShellError = ^TGShellError;
  TGShellError = (
    G_SHELL_ERROR_BAD_QUOTING,   { mismatched or otherwise mangled quoting  }
    G_SHELL_ERROR_EMPTY_STRING,  { string to be parsed was empty  }
    G_SHELL_ERROR_FAILED
  );
{$ENDIF read_interface_types}

//------------------------------------------------------------------------------

{$IFDEF read_interface_rest}
function G_SHELL_ERROR : TGQuark;

function g_shell_error_quark:TGQuark;cdecl;external gliblib name 'g_shell_error_quark';
function g_shell_quote(unquoted_string:Pgchar):Pgchar;cdecl;external gliblib name 'g_shell_quote';
function g_shell_unquote(quoted_string:Pgchar; error:PPGError):Pgchar;cdecl;external gliblib name 'g_shell_unquote';
function g_shell_parse_argv(command_line:Pgchar; argcp:Pgint; argvp:PPPgchar; error:PPGError):gboolean;cdecl;external gliblib name 'g_shell_parse_argv';

{$ENDIF read_interface_rest}
// included by glib2.pas