##// END OF EJS Templates
Some more cleaning....
Some more cleaning. Removed useless function Converted some QDebug calls to SocExplorerEngine::message calls Added static void message(QObject* sender,const QString& message,int debugLevel=0); and static void message(const QString& sender,const QString& message,int debugLevel=0);

File last commit:

r67:b3ebdaaf24d5 default
r100:11a895cff789 pre-0.7
Show More
register.py
10 lines | 268 B | text/x-python | PythonLexer
class SocExplorerRegister:
plugin=0
address=0
def __init__(self, plugin,address):
self.plugin = plugin
self.address = address
def value(self):
return self.plugin.Read(self.address,1)[0]
def set(self, value):
return self.plugin.Write(self.address,[value])