2
# Gufw 11.04.2 - http://gufw.tuxfamily.org
3
# Copyright (C) 2008-2011 Marcos Alvarez Costales https://launchpad.net/~costales
5
# Gufw is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3 of the License, or
8
# (at your option) any later version.
10
# Gufw is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
15
# You should have received a copy of the GNU General Public License
16
# along with Gufw; if not, see http://www.gnu.org/licenses for more
19
from util import Validation
20
from controller import Controller
21
from view.guiGufw import GuiGufw
24
if __name__ == "__main__":
26
# Check config file & is running previusly
27
appInstance = Validation()
30
controler = Controller()
33
firewall = controler.get_firewall()
36
app = GuiGufw(firewall)
38
# Remove current instance
39
appInstance.exit_application()