Commit 9dbbb3ce authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Try loading property file

parent 20430b14
......@@ -2,7 +2,7 @@
# Resource object code
# Created: Wed Feb 25 12:44:26 2015
# Created: Thu Mar 19 22:03:05 2015
# by: The Resource Compiler for PySide (Qt v4.8.4)
# WARNING! All changes made in this file will be lost!
......@@ -200,6 +200,22 @@ class sdlHandler(QObject):
self.init_state = self.current_hash = self.on_event()
# Try loading property file
def load_properties(self):
''' Try loading a shared object with properties to verify
Properties are e.g. stop conditions, processed by the ""
module, and transformed to Ada code compiled as a dynamic library.
There may be several properties, this function tries to retrieve
them all without a priori knowledge of their content '''
prop_dll = ctypes.CDLL('lib{}'
except OSError as err:
self.log_area.addItem('No properties to load')
self.log_area.addItem('Found property file')
def startStop(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment