NetSurf
frontends
amiga
file.h
Go to the documentation of this file.
1
/*
2
* Copyright 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
20
struct
hlcache_object;
21
struct
selection
;
22
struct
gui_window_2
;
23
24
extern
struct
FileRequester *
filereq
;
25
extern
struct
FileRequester *
savereq
;
26
27
enum
{
28
AMINS_SAVE_SOURCE
,
29
AMINS_SAVE_TEXT
,
30
AMINS_SAVE_COMPLETE
,
31
AMINS_SAVE_PDF
,
32
AMINS_SAVE_IFF
,
33
AMINS_SAVE_SELECTION
,
34
};
35
36
37
void
ami_file_req_init
(
void
);
38
void
ami_file_req_free
(
void
);
39
40
void
ami_file_open
(
struct
gui_window_2
*gwin);
41
void
ami_file_save_req
(
int
type
,
struct
gui_window_2
*gwin,
42
struct
hlcache_handle
*
object
);
43
void
ami_file_save
(
int
type
,
char
*fname,
struct
Window *win,
44
struct
hlcache_handle
*
object
,
struct
hlcache_handle
*favicon,
45
struct
browser_window
*bw);
type
const char * type
Definition:
filetype.cpp:44
AMINS_SAVE_IFF
@ AMINS_SAVE_IFF
Definition:
file.h:32
AMINS_SAVE_PDF
@ AMINS_SAVE_PDF
Definition:
file.h:31
AMINS_SAVE_TEXT
@ AMINS_SAVE_TEXT
Definition:
file.h:29
AMINS_SAVE_SELECTION
@ AMINS_SAVE_SELECTION
Definition:
file.h:33
AMINS_SAVE_SOURCE
@ AMINS_SAVE_SOURCE
Definition:
file.h:28
AMINS_SAVE_COMPLETE
@ AMINS_SAVE_COMPLETE
Definition:
file.h:30
ami_file_save_req
void ami_file_save_req(int type, struct gui_window_2 *gwin, struct hlcache_handle *object)
Definition:
file.c:225
filereq
struct FileRequester * filereq
Definition:
file.c:52
savereq
struct FileRequester * savereq
Definition:
file.c:53
ami_file_req_free
void ami_file_req_free(void)
Definition:
file.c:300
ami_file_req_init
void ami_file_req_init(void)
Definition:
file.c:281
ami_file_open
void ami_file_open(struct gui_window_2 *gwin)
Definition:
file.c:83
ami_file_save
void ami_file_save(int type, char *fname, struct Window *win, struct hlcache_handle *object, struct hlcache_handle *favicon, struct browser_window *bw)
Definition:
file.c:147
browser_window
Browser window data.
Definition:
browser_private.h:96
gui_window_2
Definition:
gui.c:246
hlcache_handle
High-level cache handle.
Definition:
hlcache.c:66
selection
Definition:
selection.c:55
Generated on Tue Nov 12 2024 23:39:48 for NetSurf by
1.9.4