/* Copyright 1997 Acorn Computers Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /***************************************************/ /* File : Save.h */ /* */ /* Purpose: Save functions for the browser. */ /* */ /* Author : A.D.Hodgkinson */ /* */ /* History: 04-Dec-96: Created. */ /***************************************************/ /* Filetype definitions */ #define FileType_TEXT 0xFFF #define FileType_DATA 0xFFD #define FileType_POUT 0xFF4 #define FileType_TIFF 0xFF0 #define FileType_HTML 0xFAF #define FileType_URI 0xF91 #define FileType_JPEG 0xC85 #define FileType_PNG 0xB60 #define FileType_URL 0xB28 #define FileType_GIF 0x695 /* Function prototypes */ ObjectId save_return_dialogue_id (void); int save_fill_in (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_fill_for_html (IdBlock * idb); _kernel_oserror * save_fill_for_object (browser_data * b, char * url); int save_save_to_file (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_fill_buffer (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_save_completed (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_dialogue_completed (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);