Class: Yast::DhcpServerUIClass
- Inherits:
-
Module
- Object
- Module
- Yast::DhcpServerUIClass
- Defined in:
- ../../src/modules/DhcpServerUI.rb
Instance Method Summary (collapse)
-
- (Object) DhcpServerUI
Constructor.
- - (Object) main
Instance Method Details
- (Object) DhcpServerUI
Constructor
72 73 74 75 76 77 78 79 80 81 82 |
# File '../../src/modules/DhcpServerUI.rb', line 72 def DhcpServerUI InitPopups() InitWidgets() @widgets = Convert.convert( Builtins.union(@widgets, @new_widgets), :from => "map", :to => "map <string, map <string, any>>" ) nil end |
- (Object) main
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File '../../src/modules/DhcpServerUI.rb', line 17 def main Yast.import "UI" textdomain "dhcp-server" Yast.import "DhcpServer" Yast.import "Mode" Yast.import "Popup" Yast.import "Report" Yast.import "Service" Yast.import "SuSEFirewall" @current_entry_type = "" @current_entry_id = "" @current_entry_options = [] @current_entry_directives = [] @original_entry_type = "" @original_entry_id = "" @parent_type = "" @parent_id = "" @current_operation = nil @current_tsig_keys = [] @new_tsig_keys = [] @deleted_tsig_keys = [] # global string current_ddns_key_file = ""; # global boolean current_ddns_key_create = false; @widgets = {} @popups = {} # temporary variables @entry_list = [] # Network interfaces @ifaces = {} Yast.include self, "dhcp-server/routines.rb" Yast.include self, "dhcp-server/helps.rb" Yast.include self, "dhcp-server/options.rb" Yast.include self, "dhcp-server/widgets.rb" Yast.include self, "dhcp-server/dialogs.rb" Yast.include self, "dhcp-server/dialogs2.rb" Yast.include self, "dhcp-server/wizards.rb" # Abort function # return boolean return true if abort @AbortFunction = nil DhcpServerUI() end |