Restructured the complete code to make it more modular

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@232 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2010-07-28 14:25:18 +00:00
parent 177bf430f8
commit 559d5c551c
23 changed files with 1117 additions and 0 deletions

18
eID_gui/src/eid_gui.py Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python
# coding: utf-8
import sys, os, subprocess
try:
import pygtk
pygtk.require("2.0")
import gtk, gobject
except ImportError:
sys.exit(1)
from eid.eid_gui_globals import TEST_DESCRIPTION, TEST_CVC
from eid.windows import CertificateDescriptionWindow
if __name__ == "__main__":
gobject.threads_init()
CertificateDescriptionWindow(TEST_DESCRIPTION, TEST_CVC)
gtk.main()