Removed some old cruft from hooke/ui/gui/
[hooke.git] / hooke / ui / gui / driver.py
diff --git a/hooke/ui/gui/driver.py b/hooke/ui/gui/driver.py
deleted file mode 100644 (file)
index b5b4809..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-
-'''
-driver.py
-
-Base class for file format drivers.
-
-Copyright 2006 by Massimo Sandal (University of Bologna, Italy).
-
-This program is released under the GNU General Public License version 2.
-'''
-
-import lib.plot
-
-class Driver(object):
-    '''
-    Base class for file format drivers.
-
-    To be overridden
-    '''
-    def __init__(self):
-        self.experiment = ''
-        self.filetype = ''
-
-    def is_me(self):
-        '''
-        This method must read the file and return True if the filetype can be managed by the driver, False if not.
-        '''
-        return False
-
-    def close_all(self):
-        '''
-        This method must close all the open files of the driver, explicitly.
-        '''
-        return None
-
-    def default_plots(self):
-        plot = lib.plot.Plot()
-        plot.curves.append([0])
-        plot.curves.append([0])
-        
-        return [plot]
-
-
-