From e898f2e8a9b2ddfcd67c31149b62ab313f9476c5 Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Wed, 29 Jun 2016 08:24:57 +0200 Subject: [PATCH] admin: Create interface to register/retrieve the admin navigation. --- rhodecode/admin/interfaces.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 rhodecode/admin/interfaces.py diff --git a/rhodecode/admin/interfaces.py b/rhodecode/admin/interfaces.py new file mode 100644 index 00000000..7c37accf --- /dev/null +++ b/rhodecode/admin/interfaces.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- + +# Copyright (C) 2016-2016 RhodeCode GmbH +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License, version 3 +# (only), as published by the Free Software Foundation. +# +# This program 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 Affero General Public License +# along with this program. If not, see . +# +# This program is dual-licensed. If you wish to learn more about the +# RhodeCode Enterprise Edition, including its added features, Support services, +# and proprietary license terms, please see https://rhodecode.com/licenses/ + +from zope.interface import Interface + + +class IAdminNavigationRegistry(Interface): + """ + Interface for the admin navigation registry. Currently this is only + used to register and retrieve it via pyramids registry. + """ + pass