linspector-old/linspector/frontends/frontend.py
Rafael.Timmerberg 240dc8b04a extended the job function and added completion
started to implement LinspectorInterface and passed it to Frontend and LishCommander as general Linspector accessor
2013-10-17 23:36:57 +02:00

28 lines
1.1 KiB
Python

"""
Frontends are GUI interfaces to Linspector. This could be a shell or other terminal based GUI.
Frontends are absolutely no requirement for running Linspector. If no frontend is selected Linspector will just log
stuff to stdout.
Copyright (c) 2011-2013 "Johannes Findeisen and Rafael Timmerberg"
This file is part of Linspector (http://linspector.org).
Linspector is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
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 Affero 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 <http://www.gnu.org/licenses/>.
"""
class Frontend(object):
def __init__(self, linspectorInterface):
self.interface = linspectorInterface