From 9601ddacaddfd233c630283adb0eba05ccfbe1da Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 8 Nov 2014 19:23:02 +0000 Subject: Add new libs file to centrally open/close required libraries, and move a couple of the existing manual opens to it. --- amiga/libs.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 amiga/libs.h (limited to 'amiga/libs.h') diff --git a/amiga/libs.h b/amiga/libs.h new file mode 100644 index 000000000..14cb9fd1e --- /dev/null +++ b/amiga/libs.h @@ -0,0 +1,29 @@ +/* + * Copyright 2014 Chris Young + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef AMIGA_LIBS_H + +struct Library *KeymapBase = NULL; +struct KeymapIFace *IKeymap = NULL; +struct Library *ApplicationBase = NULL; +struct ApplicationIFace *IApplication = NULL; + +void ami_libs_open(void); +void ami_libs_close(void); +#endif + -- cgit v1.2.3