[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:18:52 UTC 2011


The following commit has been merged in the debian branch:
commit 3ca5388544055925d185a6c1752fc21445e9f4fb
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Sun Dec 6 20:25:25 2009 +0100

    opimd: Calls: add default field types

diff --git a/framework/subsystems/opimd/pimd_calls.py b/framework/subsystems/opimd/pimd_calls.py
index 96b9831..086821c 100644
--- a/framework/subsystems/opimd/pimd_calls.py
+++ b/framework/subsystems/opimd/pimd_calls.py
@@ -50,6 +50,20 @@ _DIN_ENTRY = _DIN_CALLS_BASE + '.' + 'Call'
 _DIN_QUERY = _DIN_CALLS_BASE + '.' + 'CallQuery'
 _DIN_FIELDS = _DIN_CALLS_BASE + '.' + 'Fields'
 
+_CALLS_DEFAULT_TYPES = {
+                          'Path'      : 'objectpath',
+                          'Peer'      : 'phonenumber',
+                          'Line'      : 'integer',
+                          'Type'      : 'string',
+                          'New'       : 'boolean',
+                          'Answered'  : 'boolean',
+                          'Replied'   : 'boolean',
+                          'Direction' : 'string',
+                          'Duration'  : 'number',
+                          'Timestamp' : 'date',
+                          'Timezone'  : 'timezone'
+                          }
+
 #----------------------------------------------------------------------------#
 class Call(GenericEntry):
 #----------------------------------------------------------------------------#
@@ -205,6 +219,7 @@ class CallDomain(Domain, GenericDomain):
     _dbus_path = None
     _new_missed_calls = None
     Entry = None
+    DefaultTypes = _CALLS_DEFAULT_TYPES
 
     def __init__(self):
         """Creates a new CallDomain instance"""

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list