From f3a1b49dd83f31399ae5eadfd80744d0cbdeeb0a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 19 Nov 2016 11:22:22 +0000 Subject: add corewindow support for windows frontend --- frontends/windows/global_history.h | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 frontends/windows/global_history.h (limited to 'frontends/windows/global_history.h') diff --git a/frontends/windows/global_history.h b/frontends/windows/global_history.h new file mode 100644 index 000000000..bd986aa6c --- /dev/null +++ b/frontends/windows/global_history.h @@ -0,0 +1,40 @@ +/* + * Copyright 2016 Vincent Sanders + * + * 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 . + */ + +/** + * \file + * Interface to win32 global history manager using nsw32 core window + */ + +#ifndef NETSURF_WINDOWS_GLOBAL_HISTORY_H +#define NETSURF_WINDOWS_GLOBAL_HISTORY_H + +/** + * make the global history window visible. + * + * \return NSERROR_OK on success else appropriate error code on faliure. + */ +nserror nsw32_global_history_present(HINSTANCE hinstance); + +/** + * Destroys the global history window and performs any other necessary cleanup + * actions. + */ +nserror nsw32_global_history_finalise(void); + +#endif -- cgit v1.2.3