From d6c07925417eaea27c85996bc243f93e27b1bcd0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 23 May 2017 11:18:45 +0100 Subject: remove cocoa frontend The cocoa frontend has been broken for a few years and we have no maintainer. It was removed from the CI six months ago and has already bitrotted so it cannot be compiled. --- frontends/cocoa/desktop-tree.h | 88 ------------------------------------------ 1 file changed, 88 deletions(-) delete mode 100644 frontends/cocoa/desktop-tree.h (limited to 'frontends/cocoa/desktop-tree.h') diff --git a/frontends/cocoa/desktop-tree.h b/frontends/cocoa/desktop-tree.h deleted file mode 100644 index f8864e167..000000000 --- a/frontends/cocoa/desktop-tree.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2004 Richard Wilson - * Copyright 2009 Paul Blokus - * - * 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 - * deprecated compatibility layer for new treeview modules. Do not use. - */ - -#ifndef _NETSURF_DESKTOP_TREE_H_ -#define _NETSURF_DESKTOP_TREE_H_ - -#include -#include - -#include "netsurf/mouse.h" - -struct sslcert_session_data; -struct tree; -struct redraw_context; - -/** - * Current ssl session data for treeview - * - * @todo FIXME global certificate treeview state must go away, this is - * just wrong. - */ -extern struct sslcert_session_data *ssl_current_session; -extern const char *tree_hotlist_path; - -/* Tree flags */ -enum tree_flags { - TREE_HISTORY, - TREE_COOKIES, - TREE_SSLCERT, - TREE_HOTLIST -}; - -typedef enum { - TREE_NO_DRAG = 0, - TREE_SELECT_DRAG, - TREE_MOVE_DRAG, - TREE_TEXTAREA_DRAG, /** < A drag that is passed to a textarea */ - TREE_UNKNOWN_DRAG /** < A drag the tree itself won't handle */ -} tree_drag_type; - -/** callbacks to perform necessary operations on treeview. */ -struct treeview_table { - void (*redraw_request)(int x, int y, int width, int height, - void *data); /**< request a redraw. */ - void (*resized)(struct tree *tree, int width, int height, - void *data); /**< resize treeview area. */ - void (*scroll_visible)(int y, int height, void *data); /**< scroll visible treeview area. */ - void (*get_window_dimensions)(int *width, int *height, void *data); /**< get dimensions of window */ -}; - -struct tree *tree_create(unsigned int flags, - const struct treeview_table *callbacks, - void *client_data); - -/** deprecated compatibility layer for new treeview modules. Do not use. */ -void tree_delete(struct tree *tree); -tree_drag_type tree_drag_status(struct tree *tree); -void tree_draw(struct tree *tree, int x, int y, - int clip_x, int clip_y, int clip_width, int clip_height, - const struct redraw_context *ctx); -bool tree_mouse_action(struct tree *tree, browser_mouse_state mouse, - int x, int y); -void tree_drag_end(struct tree *tree, browser_mouse_state mouse, int x0, int y0, - int x1, int y1); -bool tree_keypress(struct tree *tree, uint32_t key); - - -#endif -- cgit v1.2.3