diff options
author | Florian Bruhin <me@the-compiler.org> | 2018-11-30 13:58:03 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2018-11-30 13:58:26 +0100 |
commit | ce3b1f252d2e96692f39db35152926106851e593 (patch) | |
tree | 0c1e06c2b5c272d2e372ff2eb2642eeb6b268e85 /qutebrowser/api | |
parent | c0d4fe0ab541c334e742816a1c0689d3c839812a (diff) | |
download | qutebrowser-ce3b1f252d2e96692f39db35152926106851e593.tar.gz qutebrowser-ce3b1f252d2e96692f39db35152926106851e593.zip |
Add api.message and api.tab
Diffstat (limited to 'qutebrowser/api')
-rw-r--r-- | qutebrowser/api/message.py | 23 | ||||
-rw-r--r-- | qutebrowser/api/tab.py | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/qutebrowser/api/message.py b/qutebrowser/api/message.py new file mode 100644 index 000000000..fdb06354f --- /dev/null +++ b/qutebrowser/api/message.py @@ -0,0 +1,23 @@ +# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: + +# Copyright 2018 Florian Bruhin (The Compiler) <mail@qutebrowser.org> +# +# This file is part of qutebrowser. +# +# qutebrowser 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, either version 3 of the License, or +# (at your option) any later version. +# +# qutebrowser 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 qutebrowser. If not, see <http://www.gnu.org/licenses/>. + +"""Utilities to display messages above the status bar.""" + +# pylint: disable=unused-import +from qutebrowser.utils.message import error, warning, info diff --git a/qutebrowser/api/tab.py b/qutebrowser/api/tab.py new file mode 100644 index 000000000..444e49558 --- /dev/null +++ b/qutebrowser/api/tab.py @@ -0,0 +1,23 @@ +# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: + +# Copyright 2018 Florian Bruhin (The Compiler) <mail@qutebrowser.org> +# +# This file is part of qutebrowser. +# +# qutebrowser 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, either version 3 of the License, or +# (at your option) any later version. +# +# qutebrowser 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 qutebrowser. If not, see <http://www.gnu.org/licenses/>. + +"""A single tab.""" + +# pylint: disable=unused-import +from qutebrowser.browser.browsertab import AbstractTab as Tab |