gshell.inc 1.1 KB

12345678910111213141516171819202122232425262728
  1. // included by glib2.pas
  2. {$IFDEF read_forward_definitions}
  3. {$ENDIF read_forward_definitions}
  4. //------------------------------------------------------------------------------
  5. {$IFDEF read_interface_types}
  6. PGShellError = ^TGShellError;
  7. TGShellError = (
  8. G_SHELL_ERROR_BAD_QUOTING, { mismatched or otherwise mangled quoting }
  9. G_SHELL_ERROR_EMPTY_STRING, { string to be parsed was empty }
  10. G_SHELL_ERROR_FAILED
  11. );
  12. {$ENDIF read_interface_types}
  13. //------------------------------------------------------------------------------
  14. {$IFDEF read_interface_rest}
  15. function G_SHELL_ERROR : TGQuark;
  16. function g_shell_error_quark:TGQuark;cdecl;external gliblib name 'g_shell_error_quark';
  17. function g_shell_quote(unquoted_string:Pgchar):Pgchar;cdecl;external gliblib name 'g_shell_quote';
  18. function g_shell_unquote(quoted_string:Pgchar; error:PPGError):Pgchar;cdecl;external gliblib name 'g_shell_unquote';
  19. function g_shell_parse_argv(command_line:Pgchar; argcp:Pgint; argvp:PPPgchar; error:PPGError):gboolean;cdecl;external gliblib name 'g_shell_parse_argv';
  20. {$ENDIF read_interface_rest}
  21. // included by glib2.pas