1# -*- coding: binary -*- 2module Msf 3module Ui 4 5### 6# 7# The driver class is an abstract base class that is meant to provide 8# a very general set of methods for 'driving' a user interface. 9# 10### 11class Driver 12 13 def initialize 14 end 15 16 # 17 # Executes the user interface, optionally in an asynchronous fashion. 18 # 19 def run 20 raise NotImplementedError 21 end 22 23 # 24 # Stops executing the user interface. 25 # 26 def stop 27 end 28 29 # 30 # Cleans up any resources associated with the UI driver. 31 # 32 def cleanup 33 end 34 35protected 36 37end 38 39end 40end 41