[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:17:34 UTC 2011
The following commit has been merged in the debian branch:
commit 64e7e5ecad0faeef3794efaa9d071faa1eae7831
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Mon Jul 27 20:21:59 2009 +0200
opimd: SIM-Messages-FSO: implement deleting messages
diff --git a/framework/subsystems/opimd/pimb_sim_messages_fso.py b/framework/subsystems/opimd/pimb_sim_messages_fso.py
index e1b40ac..64dc440 100644
--- a/framework/subsystems/opimd/pimb_sim_messages_fso.py
+++ b/framework/subsystems/opimd/pimb_sim_messages_fso.py
@@ -52,7 +52,7 @@ _UNAVAILABLE_PART = '<???>'
class SIMMessageBackendFSO(Backend):
#----------------------------------------------------------------------------#
name = 'SIM-Messages-FSO'
- properties = [PIMB_CAN_ADD_ENTRY, PIMB_IS_HANDLER]
+ properties = [PIMB_CAN_ADD_ENTRY, PIMB_CAN_DEL_ENTRY, PIMB_IS_HANDLER]
# Dict containing the domain handler objects we support
_domain_handlers = None
@@ -245,6 +245,12 @@ class SIMMessageBackendFSO(Backend):
def process_incoming_stored_entry(self, status, number, text, props, message_id):
self.process_single_entry((message_id, status, number, text, props), True)
+ def del_message(self, message_data):
+ for (field,value) in message_data:
+ if field=='_backend_entry_id':
+ entry_id=value
+ self.gsm_sim_iface.DeleteMessage(entry_id, reply_handler=self.dbus_ok, error_handler=self.dbus_err )
+
@tasklet.tasklet
def load_entries(self):
self.bus = SystemBus()
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list