/* 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. */ /***************************************************/ /* Dialogue definitions */ #define SaveAsDrag 0x8100 #define SaveAsWrit 0x8101 #define SaveAsCancel 0x8102 #define SaveAsOK 0x8103 #define ESaveAsOK 0x8102 #define ESaveAsCancel 0x8103 #define ESaveAsHidden 0x81fe #define ESaveAsToBeShown 0x81ff /* Function prototypes */ int saveobject_to_be_shown (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int saveobject_hidden (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); _kernel_oserror * saveobject_close (ObjectId ancestor, int do_not_close); void saveobject_return_dialogue_info (ObjectId * window, ObjectId * ancestor);