/* 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 : SaveObject.h */ /* */ /* Purpose: Handle the Save Object dialogue */ /* (actual object saving is done in */ /* Save.c). */ /* */ /* Author : A.D.Hodgkinson */ /* */ /* History: 03-Sep-97: Created. */ /* */ /* 05-Sep-97: Split so bulk became the */ /* SaveFile source, and the */ /* small fetch saving stayed */ /* in here. */ /***************************************************/ /* Save Object dialogue component IDs */ #define SaveObjectDrag 0x01400 #define SaveObjectWrit 0x01401 #define SaveObjectCancel 0x01402 #define SaveObjectOK 0x01403 /* Save Object dialogue event codes */ #define ESaveObjectOK 0x01403 #define ESaveObjectCancel 0x01402 #define ESaveObjectToBeShown 0x015ff /* Function prototypes */ _kernel_oserror * saveobject_open_for (browser_data * b); int saveobject_to_be_shown (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); _kernel_oserror * saveobject_close (browser_data * b);