SaveObject 1.97 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* 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.                    */
25 26 27 28 29
/*                                                 */
/*          05-Sep-97: Split so bulk became the    */
/*                     SaveFile source, and the    */
/*                     small fetch saving stayed   */
/*                     in here.                    */
30 31 32 33
/***************************************************/

/* Dialogue definitions */

34 35 36 37
#define SaveObjectDrag         0x9100
#define SaveObjectWrit         0x9101
#define SaveObjectCancel       0x9102
#define SaveObjectOK           0x9103
38

39 40 41
#define ESaveObjectOK          0x9103
#define ESaveObjectCancel      0x9102
#define ESaveObjectToBeShown   0x91ff
42 43 44

/* Function prototypes */

45 46
_kernel_oserror * saveobject_open_for    (browser_data * b);
int               saveobject_to_be_shown (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
47

48
_kernel_oserror * saveobject_close       (browser_data * b);