From 362eec6b5a9282973bf39b871dcee12cbb7fa19b Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 17 Nov 2018 10:11:40 +0100 Subject: [PATCH] libvaladoc: Drop Api.Browsable --- libvaladoc/Makefile.am | 1 - libvaladoc/api/browsable.vala | 33 --------------------------------- libvaladoc/api/node.vala | 2 +- 3 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 libvaladoc/api/browsable.vala diff --git a/libvaladoc/Makefile.am b/libvaladoc/Makefile.am index 1e19d0c23..c2f431d9f 100644 --- a/libvaladoc/Makefile.am +++ b/libvaladoc/Makefile.am @@ -93,7 +93,6 @@ libvaladoc_la_VALASOURCES = \ api/typeparameter.vala \ api/typereference.vala \ api/typesymbol.vala \ - api/browsable.vala \ api/visitor.vala \ api/driver.vala \ content/block.vala \ diff --git a/libvaladoc/api/browsable.vala b/libvaladoc/api/browsable.vala deleted file mode 100644 index 7ae9b80fb..000000000 --- a/libvaladoc/api/browsable.vala +++ /dev/null @@ -1,33 +0,0 @@ -/* browsable.vala - * - * Copyright (C) 2008 Florian Brosch - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * Author: - * Florian Brosch - */ - - -/** - * Specifies whether users are able to browse the item. - */ -public interface Valadoc.Api.Browsable : Item { - - /** - * Specifies whether users are able to browse the item. - */ - public abstract bool is_browsable (Settings settings); -} diff --git a/libvaladoc/api/node.vala b/libvaladoc/api/node.vala index 7e92206f5..298ff0f7b 100644 --- a/libvaladoc/api/node.vala +++ b/libvaladoc/api/node.vala @@ -25,7 +25,7 @@ /** * Represents a node in the api tree. */ -public abstract class Valadoc.Api.Node : Item, Browsable, Documentation { +public abstract class Valadoc.Api.Node : Item, Documentation { protected bool do_document = false; private SourceFile file; -- 2.47.2