compilation: remove junk.
[gnumeric.git] / plugins / psiconv / boot.c
blobf7f5c62f6ba4dd8ebc3b776eef7b21a497c09ae0
1 /*
2 * boot.c : Installation and bootstraping routines to
3 * register the psiconv plugin.
5 * Copyright (C) 2000 Frodo Looijaard (frodol@hdds.nl)
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20 * USA
22 #include <gnumeric-config.h>
23 #include <gnumeric.h>
24 #include <goffice/goffice.h>
25 #include <gnm-plugin.h>
26 #include "psiconv-plugin.h"
27 #include <workbook-view.h>
28 #include <workbook.h>
30 #include <string.h>
32 GNM_PLUGIN_MODULE_HEADER;
34 gboolean psiconv_file_probe (GOFileOpener const *fo, GsfInput *input,
35 GOFileProbeLevel pl);
36 void psiconv_file_open (GOFileOpener const *fo, GOIOContext *io_context,
37 WorkbookView *wb_view, GsfInput *input);
40 gboolean
41 psiconv_file_probe (GOFileOpener const *fo, GsfInput *input, GOFileProbeLevel pl)
43 return psiconv_read_header (input);
46 void
47 psiconv_file_open (GOFileOpener const *fo, GOIOContext *io_context,
48 WorkbookView *wb_view, GsfInput *input)
50 psiconv_read (io_context, wb_view_get_workbook(wb_view), input);