mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
031e3dea86
2000-05-07 Michael Natterer <mitch@gimp.org> * app/app_procs.c * app/docindex.[ch]: named all public functions document_index_*(). Don't loop/segfault when opening an old "ideas" file but silently skip the first line. * app/fileops.[ch]: do some file access sanity checks before actually calling the load/save proc. Show the full file name in all error messages. Use a query_boolean_box for the overwrite warning. Made file_save() static. Also copied some Win32 #define's from libgimp/gimpenv.c for the file access stuff. Tor, could you have a look at them please?
31 lines
926 B
C
31 lines
926 B
C
/* docindex.h - Header file for the document index.
|
|
*
|
|
* Copyright (C) 1998 Chris Lahey.
|
|
*
|
|
* 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, 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.
|
|
*/
|
|
#ifndef __DOCINDEX_H__
|
|
#define __DOCINDEX_H__
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
void document_index_create (void);
|
|
void document_index_free (void);
|
|
|
|
void document_index_add (gchar *label);
|
|
|
|
FILE * document_index_parse_init (void);
|
|
gchar * document_index_parse_line (FILE *fp);
|
|
|
|
#endif /* __DOCINDEX_H__ */
|