Commit e1e3a39a authored by Reese Wilson's avatar Reese Wilson

dringctrl: add signal callbacks with data

Change-Id: Ief11a7a484973c15ff5fd03fb64240f267527b2b
parent f58647ea
......@@ -250,6 +250,9 @@ class DRingCtrl(Thread):
self.onCallOver_cb()
del self.activeCalls[callid]
def onCallStateChanged_cb(self, callid, state, code):
pass
def onCallStateChanged(self, callid, state, code):
""" On call state changed event, set the values for new calls,
or delete the call from the list of active calls
......@@ -286,13 +289,18 @@ class DRingCtrl(Thread):
self.onCallInactive(callid,state)
else:
print("unknown state:" + str(state))
self.onCallStateChanged_cb(callid, state, code)
def onConferenceCreated_cb(self):
pass
def onConferenceCreated_callback(self, confId):
pass
def onConferenceCreated(self, confId):
self.currentConfId = confId
self.onConferenceCreated_cb()
self.onConferenceCreated_callback(confId)
def onDataTransferEvent(self, transferId, code):
pass
......
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