/* 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 : OpenURL.h */ /* */ /* Purpose: Functions relating to the Open URL */ /* dialogue box. */ /* */ /* Author : A.D.Hodgkinson */ /* */ /* History: 17-Apr-97: Created. */ /* 25-Aug-97: Definitions imported from */ /* TBEvents.h. */ /***************************************************/ /* Dialogue definitions */ #define OpenWrit 0x2101 #define OpenHistory 0x2102 #define OpenInThis 0x2103 #define OpenInParent 0x2104 #define OpenInNew 0x2105 #define OpenSaveLink 0x2106 #define OpenCancel 0x2107 #define OpenOK 0x2108 #define EOpenCancel 0x2107 #define EOpenOK 0x2108 #define EOpenRG1 0x21ff #define EOpenOpen 0x1204 /* Before showing the Open URL window. */ #define EOpenOpenFromMenu 0x120A /* Before showing the Open URL window from a menu. */ /* Function prototypes */ _kernel_oserror * openurl_fill_in_url (char * url); int openurl_to_be_shown (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int openurl_to_show_from_menu (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); _kernel_oserror * openurl_close (ObjectId ancestor, int do_not_close);