2004-02-15 01:26:35 +03:00
|
|
|
/*
|
2004-02-16 01:19:43 +03:00
|
|
|
* Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf 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; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf 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.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2004-02-15 01:26:35 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_RISCOS_SAVE_DRAW_H_
|
|
|
|
#define _NETSURF_RISCOS_SAVE_DRAW_H_
|
|
|
|
|
2009-06-20 23:38:56 +04:00
|
|
|
#ifdef WITH_DRAW_EXPORT
|
|
|
|
|
2008-07-27 02:29:15 +04:00
|
|
|
#include <stdbool.h>
|
2010-04-07 21:05:50 +04:00
|
|
|
struct hlcache_handle;
|
2004-02-15 01:26:35 +03:00
|
|
|
|
2017-02-08 12:22:42 +03:00
|
|
|
/**
|
|
|
|
* Export a content as a DrawFile.
|
|
|
|
*
|
|
|
|
* \param h content to export
|
|
|
|
* \param path path to save DrawFile as
|
|
|
|
* \return true on success, false on error and error reported
|
|
|
|
*/
|
2010-04-07 21:05:50 +04:00
|
|
|
bool save_as_draw(struct hlcache_handle *h, const char *path);
|
2004-02-15 01:26:35 +03:00
|
|
|
|
|
|
|
#endif
|
2009-06-20 23:38:56 +04:00
|
|
|
|
|
|
|
#endif
|