Dialer

(ssc enabled)
m (Protected "Dialer" [edit=autoconfirmed:move=autoconfirmed])
 
(5 intermediate revisions not shown)
Line 10: Line 10:
===cui_audio_call_view===
===cui_audio_call_view===
-
Implements type CuiAudioCallView which is a UI widget derived from a CuiCallView
+
Implements type CuiAudioCallView which is a UI widget derived from a <code>CuiCallView</code>
===cui_audio_policy===
===cui_audio_policy===
-
Implements type CuiAudioPolicy which is used to control audio policy settings
+
Implements type <code>CuiAudioPolicy</code> which is used to control audio policy settings
====set mute====
====set mute====
-
dbus method call to org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute one argument, boolean (true/false to set mute)
+
dbus method call to <code>org.maemo.Playback.Manager</code> <code>/org/maemo/Playback/Manager</code> <code>org.maemo.Playback.Manager.RequestMute</code> one argument, boolean (true/false to set mute)
====set speaker====
====set speaker====
-
dbus method call to org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestPrivacyOverride one argument, boolean (true/false to set mute)
+
dbus method call to <code>org.maemo.Playback.Manager</code> <code>/org/maemo/Playback/Manager</code> <code>org.maemo.Playback.Manager.RequestPrivacyOverride</code> one argument, boolean (true/false to set mute)
====set bluetooth override====
====set bluetooth override====
-
dbus method call to org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestBluetoothOverride one argument, boolean (true/false to set mute)
+
dbus method call to <code>org.maemo.Playback.Manager</code> <code>/org/maemo/Playback/Manager</code> <code>org.maemo.Playback.Manager.RequestBluetoothOverride</code> one argument, boolean (true/false to set mute)
====mute signal====
====mute signal====
-
dbus signal from org.maemo.Playback.Manager /org/maemo/Playback/Manager Mute one argument, boolean (true/false to get mute)
+
dbus signal from<code>org.maemo.Playback.Manager</code> <code>/org/maemo/Playback/Manager</code> <code>Mute</code> one argument, boolean (true/false to get mute)
====speaker signal====
====speaker signal====
-
dbus signal from org.maemo.Playback.Manager /org/maemo/Playback/Manager PrivacyOverride one argument, boolean (true/false to get speaker)
+
dbus signal from <code>org.maemo.Playback.Manager</code> <code>/org/maemo/Playback/Manager</code> <code>PrivacyOverride</code> one argument, boolean (true/false to get speaker)
====bluetooth override signal====
====bluetooth override signal====
-
dbus signal from org.maemo.Playback.Manager /org/maemo/Playback/Manager BluetoothOverride one argument, integer (unknown argument)
+
dbus signal from <code>org.maemo.Playback.Manager</code> <code>/org/maemo/Playback/Manager</code> <code>BluetoothOverride</code> one argument, integer (unknown argument)
====request hold====
====request hold====
-
dbus method call to com.nokia.policy.telephony /com/nokia/policy/telephony com.nokia.policy.telephony.RequestHold arguments appear to be string, object_path, boolean (unknown arguments)
+
dbus method call to <code>com.nokia.policy.telephony</code> <code>/com/nokia/policy/telephony</code> <code>com.nokia.policy.telephony.RequestHold</code> arguments appear to be string, object_path, boolean (unknown arguments)
====request accept====
====request accept====
-
dbus method call to com.nokia.policy.telephony /com/nokia/policy/telephony com.nokia.policy.telephony.RequestAccept arguments appear to be, object_path (unknown arguments)
+
dbus method call to <code>com.nokia.policy.telephony</code> <code>/com/nokia/policy/telephony</code> <code>com.nokia.policy.telephony.RequestAccept</code> arguments appear to be, object_path (unknown arguments)
====headset button pressed signal====
====headset button pressed signal====
-
Register callback via libhal_ctx_set_device_condition and listen for condition_name = "ButtonPressed" and condition_detail = "phone"
+
Register callback via <code>libhal_ctx_set_device_condition</code> and listen for condition_name = "<code>ButtonPressed</code>" and condition_detail = "<code>phone</code>"
====headset jack state signal====
====headset jack state signal====
-
Register callback via libhal_ctx_set_device_property_modified and listen for udi = "/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input" and key = "input.jack.type"
+
Register callback via <code>libhal_ctx_set_device_property_modified</code> and listen for udi = "<code>/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input</code>" and key = "<code>input.jack.type</code>"
-
Also call libhal_device_add_property_watch to watch for property "/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input"
+
Also call <code>libhal_device_add_property_watch</code> to watch for property "<code>/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input</code>"
====get headset jack type====
====get headset jack type====
-
call libhal_device_get_property_strlist udi = "/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input" key = "input.jack.type". Code checks for type = "headphone"
+
call <code>libhal_device_get_property_strlist</code> udi = "<code>/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input</code>" key = "<code>input.jack.type</code>". Code checks for type = "<code>headphone</code>"
===cui_avatar_image===
===cui_avatar_image===
-
Implements type CuiAvatarImage which is a UI widget derived from OssoABookAvatarImage
+
Implements type <code>CuiAvatarImage</code> which is a UI widget derived from <code>OssoABookAvatarImage</code>
===cui_button_box===
===cui_button_box===
-
Implements type CuiButtonBox which is a UI widget derived from GtkBox
+
Implements type <code>CuiButtonBox</code> which is a UI widget derived from <code>GtkBox</code>
===cui_call_banner===
===cui_call_banner===
-
Implements type CuiCallBanner which is a UI widget derived from GtkFrame
+
Implements type <code>CuiCallBanner</code> which is a UI widget derived from <code>GtkFrame</code>
===cui_call_context===
===cui_call_context===
-
Implements type CuiCallContext which is used for call context. Details TBA.
+
Implements type <code>CuiCallContext</code> which is used for call context. Details TBA.
===cui_call_control===
===cui_call_control===
-
Implements type CuiCallControl which is a UI widget derived from GtkAlignment.
+
Implements type <code>CuiCallControl</code> which is a UI widget derived from <code>GtkAlignment</code>.
===cui_call_store===
===cui_call_store===
-
Implements type CuiCallStore which is used for call store. Details TBA.
+
Implements type <code>CuiCallStore</code> which is used for call store. Details TBA.
===cui_call_view===
===cui_call_view===
-
Implements type CuiCallView which is a UI widget derived from GtkAlignment
+
Implements type <code>CuiCallView</code> which is a UI widget derived from <code>GtkAlignment</code>
===cui_conf_call_context===
===cui_conf_call_context===
-
Implements type CuiConfCallContext which is used for conference call context (derives from CuiCallContext). Details TBA.
+
Implements type <code>CuiConfCallContext</code> which is used for conference call context (derives from <code>CuiCallContext</code>). Details TBA.
===cui_conf_call_view===
===cui_conf_call_view===
-
Implements type CuiConfCallView which is a UI widget derived from CuiCallView
+
Implements type <code>CuiConfCallView</code> which is a UI widget derived from <code>CuiCallView</code>
===cui_credit_label===
===cui_credit_label===
-
Implements type CuiCreditLabel which is a UI widget derived from GtkAlignment
+
Implements type <code>CuiCreditLabel</code> which is a UI widget derived from <code>GtkAlignment</code>
===cui_cs_proxy===
===cui_cs_proxy===
-
Implements type CuiCsProxy which is used for call interface items
+
Implements type <code>CuiCsProxy</code> which is used for call interface items
====get emergency numbers====
====get emergency numbers====
-
dbus method call to com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.GetEmergencyNumbers. No arguments, reply argument is array of strings.
+
dbus method call to <code>com.nokia.csd.Call</code> <code>/com/nokia/csd/call</code> <code>com.nokia.csd.Call.GetEmergencyNumbers</code>. No arguments, reply argument is array of strings.
====get IMEI====
====get IMEI====
-
dbus method call to com.nokia.phone.SIM /com/nokia/phone/SIM/security Phone.Sim.Security.get_imei. No arguments, reply argument is string.
+
dbus method call to <code>com.nokia.phone.SIM</code> <code>/com/nokia/phone/SIM/security</code> <code>Phone.Sim.Security.get_imei</code>. No arguments, reply argument is string.
====modem state====
====modem state====
-
dbus method call to com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.get_modem_state. No arguments, reply argument is string.
+
dbus method call to <code>com.nokia.phone.SSC</code> <code>/com/nokia/phone/SSC</code> <code>com.nokia.phone.SSC.get_modem_state</code>. No arguments, reply argument is string.
====short code====
====short code====
-
compares against the string 0123456789*# with strspn. checks if its emergency number. dbus method call to com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status. No arguments, reply argument is unsigned int.
+
compares against the string 0123456789*# with <code>strspn</code>. checks if its emergency number. dbus method call to <code>com.nokia.phone.net</code> <code>/com/nokia/phone/net</code> <code>Phone.Net.get_registration_status</code>. No arguments, reply argument is unsigned int.
====verify security code====
====verify security code====
-
dbus method call to com.nokia.phone.SIM /com/nokia/phone/SIM/security Phone.Sim.Security.verify_code. Arguments are unsigned int, string, string. Return argument is int.
+
dbus method call to <code>com.nokia.phone.SIM</code> <code>/com/nokia/phone/SIM/security</code> <code>Phone.Sim.Security.verify_code</code>. Arguments are unsigned int, string, string. Return argument is int.
====emergency numbers changed signal====
====emergency numbers changed signal====
-
dbus signal from com.nokia.csd.Call /com/nokia/csd/call EmergencyNumbersChanged. Argument is array of strings.
+
dbus signal from <code>com.nokia.csd.Call</code> <code>/com/nokia/csd/call</code> <code>EmergencyNumbersChanged</code>. Argument is array of strings.
====modem state changed signal====
====modem state changed signal====
-
dbus signal from com.nokia.phone.SSC /com/nokia/phone/SSC modem_state_changed_ind. Argument is string.
+
dbus signal from <code>com.nokia.phone.SSC</code> <code>/com/nokia/phone/SSC</code> <code>modem_state_changed_ind</code>. Argument is string.
===cui_dial_view===
===cui_dial_view===
-
Implements type CuiDialView which is a UI widget derived from GtkAlignment
+
Implements type <code>CuiDialView</code> which is a UI widget derived from <code>GtkAlignment</code>
===cui_dialog===
===cui_dialog===
-
Implements type CuiDialog which is a UI widget derived from GtkWindow
+
Implements type <code>CuiDialog</code> which is a UI widget derived from <code>GtkWindow</code>
===cui_dialpad===
===cui_dialpad===
-
Implements type CuiDialpad which is a UI widget derived from GtkTable
+
Implements type <code>CuiDialpad</code> which is a UI widget derived from <code>GtkTable</code>
===cui_dtmf_dialog===
===cui_dtmf_dialog===
-
Implements type CuiDtmfDialog which is a UI widget derived from CuiDialog
+
Implements type <code>CuiDtmfDialog</code> which is a UI widget derived from <code>CuiDialog</code>
===cui_duration_dialog===
===cui_duration_dialog===
-
Implements type CuiDurationDialog which is a UI widget derived from CuiDialog
+
Implements type <code>CuiDurationDialog</code> which is a UI widget derived from <code>CuiDialog</code>
===cui_errors_disconnect_reason_to_string===
===cui_errors_disconnect_reason_to_string===
Line 158: Line 158:
===cui_errors_ssc_state_to_error===
===cui_errors_ssc_state_to_error===
-
Checks for ssc states "online", "simless", "sim_mode_als2", "blocked_sim", "tablet_state", "sim_locked"
+
Checks for ssc states "<code>online</code>", "<code>simless</code>", "<code>sim_mode_als2</code>", "<code>blocked_sim</code>", "<code>tablet_state</code>", "<code>sim_locked</code>"
===cui_errors_tp_reason_to_disconnect_reason===
===cui_errors_tp_reason_to_disconnect_reason===
Line 164: Line 164:
===cui_ic_dialog===
===cui_ic_dialog===
-
Implements type CuiICDialog which is a UI widget derived from CuiDialog.
+
Implements type <code>CuiICDialog</code> which is a UI widget derived from <code>CuiDialog</code>.
===cui_icon_cache===
===cui_icon_cache===
-
Used to store icons for reuse. Uses gtk_icon_theme_get_default and gtk_icon_theme_load_icon.
+
Used to store icons for reuse. Uses ,code>gtk_icon_theme_get_default</code> and <code>gtk_icon_theme_load_icon</code>.
===cui_idle_view===
===cui_idle_view===
-
Implements type CuiIdleView which is a UI widget derived from GtkWidget.
+
Implements type <code>CuiIdleView</code> which is a UI widget derived from <code>GtkWidget</code>.
===cui_marshal===
===cui_marshal===
-
Calls g_value_xxx functions to move data around
+
Calls <code>g_value_xxx</code> functions to move data around
===cui_mce_proxy===
===cui_mce_proxy===
-
Implements type CuiMceProxy which is an interface to various MCE signals/calls
+
Implements type <code>CuiMceProxy</code> which is an interface to various MCE signals/calls
====prevent blanking====
====prevent blanking====
-
dbus method call MCE_PREVENT_BLANK_REQ as documented in mce-dev
+
dbus method call <code>MCE_PREVENT_BLANK_REQ</code> as documented in <code>mce-dev</code>
====activate display====
====activate display====
-
dbus method call MCE_DISPLAY_ON_REQ as documented in mce-dev
+
dbus method call <code>MCE_DISPLAY_ON_REQ</code> as documented in <code>mce-dev</code>
====accelerometer disable====
====accelerometer disable====
-
dbus method call MCE_ACCELEROMETER_DISABLE_REQ as documented in mce-dev
+
dbus method call <code>MCE_ACCELEROMETER_DISABLE_REQ</code> as documented in <code>mce-dev</code>
====device lock state====
====device lock state====
-
dbus method call MCE_DEVLOCK_MODE_GET as documented in mce-dev
+
dbus method call <code>MCE_DEVLOCK_MODE_GET</code> as documented in <code>mce-dev</code>
====accelerometer enable====
====accelerometer enable====
-
dbus method call MCE_ACCELEROMETER_ENABLE_REQ as documented in mce-dev
+
dbus method call <code>MCE_ACCELEROMETER_ENABLE_REQ</code> as documented in <code>mce-dev</code>
====get device orientation====
====get device orientation====
-
dbus method call MCE_DEVICE_ORIENTATION_GET as documented in mce-dev
+
dbus method call <code>MCE_DEVICE_ORIENTATION_GET</code> as documented in <code>mce-dev</code>
====silent unlock====
====silent unlock====
-
dbus method call MCE_TKLOCK_MODE_CHANGE_REQ as documented in mce-dev
+
dbus method call <code>MCE_TKLOCK_MODE_CHANGE_REQ</code> as documented in <code>mce-dev</code>
====device lock mode signal====
====device lock mode signal====
-
dbus signal MCE_DEVLOCK_MODE_SIG as documented in mce-dev
+
dbus signal <code>MCE_DEVLOCK_MODE_SIG</code> as documented in <code>mce-dev</code>
===cui_member===
===cui_member===
-
Implements type CuiMember which is used for unknown use. Details TBA.
+
Implements type <code>CuiMember</code> which is used for unknown use. Details TBA.
===cui_oc_dialog===
===cui_oc_dialog===
-
Implements type CuiOCDialog which is a UI widget derived from CuiDialog.
+
Implements type <code>CuiOCDialog</code> which is a UI widget derived from <code>CuiDialog</code>.
===cui_rotatable===
===cui_rotatable===
-
Implements type CuiRotatable which is a UI interface for things that rotate. Key file (setup via g_key_file_new) is stored in <home dir>/.osso/call-ui.ini
+
Implements type <code>CuiRotatable</code> which is a UI interface for things that rotate. Key file (setup via <code>g_key_file_new</code>) is stored in <code><home dir>/.osso/call-ui.ini</code>
===cui_settings===
===cui_settings===
-
Implements type CuiSettings used for storing call ui settings
+
Implements type <code>CuiSettings</code> used for storing call ui settings
====home gesture disabled====
====home gesture disabled====
-
set gconf path /apps/osso/hildon-desktop/disable_phone_gesture
+
set gconf path <code>/apps/osso/hildon-desktop/disable_phone_gesture</code>
====orientation setting====
====orientation setting====
Line 221: Line 221:
====ssc enabled====
====ssc enabled====
-
stored in key file <home-dir>/.osso/call-ui.ini group_name [supplementary] key ssc=1|0. See starhash-enabler.
+
stored in key file <code><home-dir>/.osso/call-ui.ini</code> group_name [supplementary] key ssc=1|0. See starhash-enabler.
====keyboard slide open====
====keyboard slide open====
-
gconf location = /system/osso/af/slide-open gconf notify used to watch that location
+
gconf location = <code>/system/osso/af/slide-open</code> gconf notify used to watch that location
===cui_ss_dialog===
===cui_ss_dialog===
Line 230: Line 230:
===cui_ss_proxy===
===cui_ss_proxy===
-
Implements type CuiSSProxy used for supplementary services proxy. Details TBA.
+
Implements type <code>CuiSSProxy</code> used for supplementary services proxy. Details TBA.
===cui_timer_label===
===cui_timer_label===
-
Implements type CuiTimerLabel which is a UI widget derived from GtkAlignment
+
Implements type <code>CuiTimerLabel</code> which is a UI widget derived from GtkAlignment
===cui_tones_ringing_start===
===cui_tones_ringing_start===
-
calls com.nokia.HildonSVNotificationDaemon /com/nokia/HildonSVNotificationDaemon com.nokia.HildonSVNotificationDaemon.PlayEvent to play a ring-tone. Specs for this are in hd-sv-notification-daemon.xml in hildon-home source.
+
calls <code>com.nokia.HildonSVNotificationDaemon</code> <code>/com/nokia/HildonSVNotificationDaemon</code> <code>com.nokia.HildonSVNotificationDaemon.PlayEvent</code> to play a ring-tone. Specs for this are in <code>hd-sv-notification-daemon.xml</code> in hildon-home source.
===cui_tones_ringing_stop===
===cui_tones_ringing_stop===
-
calls com.nokia.HildonSVNotificationDaemon /com/nokia/HildonSVNotificationDaemon com.nokia.HildonSVNotificationDaemon.StopEvent to stop the playing ring-tone. Specs for this are in hd-sv-notification-daemon.xml in hildon-home source.
+
calls <code>com.nokia.HildonSVNotificationDaemon</code> <code>/com/nokia/HildonSVNotificationDaemon</code> <code>com.nokia.HildonSVNotificationDaemon.StopEvent</code> to stop the playing ring-tone. Specs for this are in <code>hd-sv-notification-daemon.xml</code> in hildon-home source.
===cui_tones_tone_start===
===cui_tones_tone_start===
-
calls com.Nokia.Telephony.Tones /com/Nokia/Telephony/Tones com.Nokia.Telephony.Tones.StartEventTone to play tones. Arguments are unsigned int event, int volume, unsigned int duration.
+
calls <code>com.Nokia.Telephony.Tones</code> <code>/com/Nokia/Telephony/Tones</code> <code>com.Nokia.Telephony.Tones.StartEventTone</code> to play tones. Arguments are unsigned int event, int volume, unsigned int duration.
===cui_tones_tone_stop===
===cui_tones_tone_stop===
-
calls com.Nokia.Telephony.Tones /com/Nokia/Telephony/Tones com.Nokia.Telephony.Tones.StopTone to stop the playing tones. No arguments.
+
calls <code>com.Nokia.Telephony.Tones</code> <code>/com/Nokia/Telephony/Tones</code> <code>com.Nokia.Telephony.Tones.StopTone</code> to stop the playing tones. No arguments.
===cui_utils_account_get_vcard_field===
===cui_utils_account_get_vcard_field===
-
calls mc_account_compat_get_profile to get a profile from a McAccount. Calls mc_profile_lookup to get a McProfile from the profile. Calls mc_profile_get_vcard_field to get the vcard field from the McProfile.
+
calls <code>mc_account_compat_get_profile</code> to get a profile from a <code>McAccount</code>. Calls <code>mc_profile_lookup</code> to get a <code>McProfile</code> from the profile. Calls <code>mc_profile_get_vcard_field</code> to get the vcard field from the <code>McProfile</code>.
===cui_utils_account_is_ring===
===cui_utils_account_is_ring===
-
Compares some detail of the account with "ring"
+
Compares the <code>manager_name</code> field of the <code>McAccount</code> structure with "<code>ring</code>"
===cui_utils_account_is_tel===
===cui_utils_account_is_tel===
-
Compares some detail of the account with "tel"
+
Compares the <code>protocol_name</code> field of the <code>McAccount</code> structure with "<code>tel</code>"
===cui_utils_avatar_button_new===
===cui_utils_avatar_button_new===
-
UI widget for an avatar button involving a GtkButton.
+
UI widget for an avatar button involving a <code>GtkButton</code>.
===cui_utils_button_new===
===cui_utils_button_new===
Line 266: Line 266:
===cui_utils_get_current_time===
===cui_utils_get_current_time===
-
calls clock_gettime to obtain the current time
+
calls <code>clock_gettime</code> to obtain the current time
===cui_utils_get_elapsed_time===
===cui_utils_get_elapsed_time===
-
calls clock_gettime to obtain the time and does some math on it
+
calls <code>clock_gettime</code> to obtain the time and does some math on it
===cui_utils_get_formatted_time===
===cui_utils_get_formatted_time===
-
calls time_format to get a formatted time
+
calls <code>time_format</code> to get a formatted time
===cui_utils_get_formatted_time_lz===
===cui_utils_get_formatted_time_lz===
-
calls time_format to get a formatted time
+
calls <code>time_format</code> to get a formatted time
===cui_utils_get_icon_from_account===
===cui_utils_get_icon_from_account===
-
calls mc_account_compat_get_profile to get a profile from a McAccount. Calls mc_profile_lookup to get a McProfile from the profile. Calls mc_profile_get_icon_name to get the icon name from the McProfile.
+
calls <code>mc_account_compat_get_profile</code> to get a profile from a <code>McAccount</code>. Calls <code>mc_profile_lookup</code> to get a <code>McProfile</code> from the profile. Calls <code>mc_profile_get_icon_name</code> to get the icon name from the <code>McProfile</code>.
===cui_utils_get_timespec_diff===
===cui_utils_get_timespec_diff===
Line 284: Line 284:
===cui_utils_key_event_to_dtmf_digit===
===cui_utils_key_event_to_dtmf_digit===
-
Takes a GdkEventKey *, converts it to DTMF tone via gdk_keymap_get_default then gdk_keymap_lookup_key then does something to convert it to a DTMF value
+
Takes a <code>GdkEventKey *</code>, converts it to DTMF tone via <code>gdk_keymap_get_default</code> then <code>gdk_keymap_lookup_key</code> then does something to convert it to a DTMF value
===cui_utils_normalize_number===
===cui_utils_normalize_number===
Line 302: Line 302:
===cui_utils_window_request_orientation===
===cui_utils_window_request_orientation===
-
Uses _HILDON_PORTRAIT_MODE_REQUEST to request orientation of a window
+
Uses <code>_HILDON_PORTRAIT_MODE_REQUEST</code> to request orientation of a window
===cui_utils_window_set_orientation===
===cui_utils_window_set_orientation===
-
Uses _HILDON_PORTRAIT_MODE_REQUEST to set orientation of a window
+
Uses <code>_HILDON_PORTRAIT_MODE_REQUEST</code> to set orientation of a window
===cui_utils_window_set_supports_portrait===
===cui_utils_window_set_supports_portrait===
-
Uses _HILDON_PORTRAIT_MODE_SUPPORT to set portrait support for a window
+
Uses <code>_HILDON_PORTRAIT_MODE_SUPPORT</code> to set portrait support for a window
===cui_video_frame===
===cui_video_frame===
-
Implements type CuiVideoFrame which is a UI widget derived from GtkFrame.
+
Implements type <code>CuiVideoFrame</code> which is a UI widget derived from <code>GtkFrame</code>.
===cui_video_window_get_type===
===cui_video_window_get_type===
-
Implements type CuiVideoWindow which is a UI widget derived from GtkSocket.
+
Implements type <code>CuiVideoWindow</code> which is a UI widget derived from <code>GtkSocket</code>.
===rtcom_tp_cli_channel_interface_conference===
===rtcom_tp_cli_channel_interface_conference===
Line 372: Line 372:
===rtcom_tp_stream_engine===
===rtcom_tp_stream_engine===
-
Creates object of type RTComTpStreamEngine and hooks up to dbus interface org.maemo.Telepathy.StreamEngine
+
Creates object of type <code>RTComTpStreamEngine</code> and hooks up to dbus interface <code>org.maemo.Telepathy.StreamEngine</code>
===rtcom_tp_type===
===rtcom_tp_type===
Marshal functions for dbus stuff
Marshal functions for dbus stuff
 +
 +
[[Category:Development]]
 +
[[Category:Fremantle]]

Latest revision as of 13:49, 15 October 2012

Contents

librtcom-dialer-ui

These different sets of functions are exported by librtcom-dialer-ui for use by the dialer app. It specifically concentrates on non-UI stuff as that's what a dialer replacement would need. Types are implement via the glib type system (g_type_register_static_simple and friends)

cui_account_model

Implements type CuiAccountModel which is a UI widget derived from a GtkListStore

cui_account_selector

Implements type CuiAccountSelector which is a UI widget derived from a HildonTouchSelector

cui_audio_call_view

Implements type CuiAudioCallView which is a UI widget derived from a CuiCallView

cui_audio_policy

Implements type CuiAudioPolicy which is used to control audio policy settings

set mute

dbus method call to org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute one argument, boolean (true/false to set mute)

set speaker

dbus method call to org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestPrivacyOverride one argument, boolean (true/false to set mute)

set bluetooth override

dbus method call to org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestBluetoothOverride one argument, boolean (true/false to set mute)

mute signal

dbus signal fromorg.maemo.Playback.Manager /org/maemo/Playback/Manager Mute one argument, boolean (true/false to get mute)

speaker signal

dbus signal from org.maemo.Playback.Manager /org/maemo/Playback/Manager PrivacyOverride one argument, boolean (true/false to get speaker)

bluetooth override signal

dbus signal from org.maemo.Playback.Manager /org/maemo/Playback/Manager BluetoothOverride one argument, integer (unknown argument)

request hold

dbus method call to com.nokia.policy.telephony /com/nokia/policy/telephony com.nokia.policy.telephony.RequestHold arguments appear to be string, object_path, boolean (unknown arguments)

request accept

dbus method call to com.nokia.policy.telephony /com/nokia/policy/telephony com.nokia.policy.telephony.RequestAccept arguments appear to be, object_path (unknown arguments)

headset button pressed signal

Register callback via libhal_ctx_set_device_condition and listen for condition_name = "ButtonPressed" and condition_detail = "phone"

headset jack state signal

Register callback via libhal_ctx_set_device_property_modified and listen for udi = "/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input" and key = "input.jack.type" Also call libhal_device_add_property_watch to watch for property "/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input"

get headset jack type

call libhal_device_get_property_strlist udi = "/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input" key = "input.jack.type". Code checks for type = "headphone"

cui_avatar_image

Implements type CuiAvatarImage which is a UI widget derived from OssoABookAvatarImage

cui_button_box

Implements type CuiButtonBox which is a UI widget derived from GtkBox

cui_call_banner

Implements type CuiCallBanner which is a UI widget derived from GtkFrame

cui_call_context

Implements type CuiCallContext which is used for call context. Details TBA.

cui_call_control

Implements type CuiCallControl which is a UI widget derived from GtkAlignment.

cui_call_store

Implements type CuiCallStore which is used for call store. Details TBA.

cui_call_view

Implements type CuiCallView which is a UI widget derived from GtkAlignment

cui_conf_call_context

Implements type CuiConfCallContext which is used for conference call context (derives from CuiCallContext). Details TBA.

cui_conf_call_view

Implements type CuiConfCallView which is a UI widget derived from CuiCallView

cui_credit_label

Implements type CuiCreditLabel which is a UI widget derived from GtkAlignment

cui_cs_proxy

Implements type CuiCsProxy which is used for call interface items

get emergency numbers

dbus method call to com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.GetEmergencyNumbers. No arguments, reply argument is array of strings.

get IMEI

dbus method call to com.nokia.phone.SIM /com/nokia/phone/SIM/security Phone.Sim.Security.get_imei. No arguments, reply argument is string.

modem state

dbus method call to com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.get_modem_state. No arguments, reply argument is string.

short code

compares against the string 0123456789*# with strspn. checks if its emergency number. dbus method call to com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status. No arguments, reply argument is unsigned int.

verify security code

dbus method call to com.nokia.phone.SIM /com/nokia/phone/SIM/security Phone.Sim.Security.verify_code. Arguments are unsigned int, string, string. Return argument is int.

emergency numbers changed signal

dbus signal from com.nokia.csd.Call /com/nokia/csd/call EmergencyNumbersChanged. Argument is array of strings.

modem state changed signal

dbus signal from com.nokia.phone.SSC /com/nokia/phone/SSC modem_state_changed_ind. Argument is string.

cui_dial_view

Implements type CuiDialView which is a UI widget derived from GtkAlignment

cui_dialog

Implements type CuiDialog which is a UI widget derived from GtkWindow

cui_dialpad

Implements type CuiDialpad which is a UI widget derived from GtkTable

cui_dtmf_dialog

Implements type CuiDtmfDialog which is a UI widget derived from CuiDialog

cui_duration_dialog

Implements type CuiDurationDialog which is a UI widget derived from CuiDialog

cui_errors_disconnect_reason_to_string

error string match
0 = voip_ib_undefined_error
1 = voip_fi_call_summary_identifier_no_answer
2 = voip_fi_call_summary_identifier_not_found
3 = call_fi_call_summary_identifier_incorrect_number
4 = voip_fi_call_summary_identifier_call_rejected
5 = voip_fi_call_summary_identifier_busy
6 = voip_fi_call_summary_identifier_not_authorized
7 = voip_ib_error_in_contact
8 = voip_ib_call_not_supported
9 = voip_ib_not_enough_memory
10 = voip_fi_call_summary_identifier_disconnected
11 = voip_fi_call_summary_identifier_disconnected
12 = call_ib_not_allowed
13 = call_ib_cost_limit_reached"
14 = call_ib_cellular_connection_error
15 = call_ib_fdn_active
16 = call_ib_number_not_in_use
17 = conn_ni_no_sim_card_in
18 = conn_ni_sim_not_accepted
19 = conn_ni_sim_lock
20 = call_ib_cellular_network_busy
21 = conn_ni_no_pin_for_sim
22 = call_ib_als_wrong_line
23 = conn_ni_no_cell_network
24 = call_ib_w_not_supported
25 = pres_ib_must_be_online
26 = addr_ib_contact_is_offline
27 = call_ib_request_rejected
28 = pres_ib_must_be_network_connected
29 = skype_fi_credit_is_low
30 = skype_fi_not_enough_credits
31 = skype_fi_call_old_voicemail_removed
32 = skype_fi_too_short_pstn_number
33 = voip_ni_unable_to_negotiate_codec

cui_errors_ssc_state_to_error

Checks for ssc states "online", "simless", "sim_mode_als2", "blocked_sim", "tablet_state", "sim_locked"

cui_errors_tp_reason_to_disconnect_reason

Details TBA.

cui_ic_dialog

Implements type CuiICDialog which is a UI widget derived from CuiDialog.

cui_icon_cache

Used to store icons for reuse. Uses ,code>gtk_icon_theme_get_default</code> and gtk_icon_theme_load_icon.

cui_idle_view

Implements type CuiIdleView which is a UI widget derived from GtkWidget.

cui_marshal

Calls g_value_xxx functions to move data around

cui_mce_proxy

Implements type CuiMceProxy which is an interface to various MCE signals/calls

prevent blanking

dbus method call MCE_PREVENT_BLANK_REQ as documented in mce-dev

activate display

dbus method call MCE_DISPLAY_ON_REQ as documented in mce-dev

accelerometer disable

dbus method call MCE_ACCELEROMETER_DISABLE_REQ as documented in mce-dev

device lock state

dbus method call MCE_DEVLOCK_MODE_GET as documented in mce-dev

accelerometer enable

dbus method call MCE_ACCELEROMETER_ENABLE_REQ as documented in mce-dev

get device orientation

dbus method call MCE_DEVICE_ORIENTATION_GET as documented in mce-dev

silent unlock

dbus method call MCE_TKLOCK_MODE_CHANGE_REQ as documented in mce-dev

device lock mode signal

dbus signal MCE_DEVLOCK_MODE_SIG as documented in mce-dev

cui_member

Implements type CuiMember which is used for unknown use. Details TBA.

cui_oc_dialog

Implements type CuiOCDialog which is a UI widget derived from CuiDialog.

cui_rotatable

Implements type CuiRotatable which is a UI interface for things that rotate. Key file (setup via g_key_file_new) is stored in <home dir>/.osso/call-ui.ini

cui_settings

Implements type CuiSettings used for storing call ui settings

home gesture disabled

set gconf path /apps/osso/hildon-desktop/disable_phone_gesture

orientation setting

stored in key file group_name rotation key orientation. Also file call-portrait-override is related to this.

ssc enabled

stored in key file <home-dir>/.osso/call-ui.ini group_name [supplementary] key ssc=1|0. See starhash-enabler.

keyboard slide open

gconf location = /system/osso/af/slide-open gconf notify used to watch that location

cui_ss_dialog

UI code for supplementary services dialog

cui_ss_proxy

Implements type CuiSSProxy used for supplementary services proxy. Details TBA.

cui_timer_label

Implements type CuiTimerLabel which is a UI widget derived from GtkAlignment

cui_tones_ringing_start

calls com.nokia.HildonSVNotificationDaemon /com/nokia/HildonSVNotificationDaemon com.nokia.HildonSVNotificationDaemon.PlayEvent to play a ring-tone. Specs for this are in hd-sv-notification-daemon.xml in hildon-home source.

cui_tones_ringing_stop

calls com.nokia.HildonSVNotificationDaemon /com/nokia/HildonSVNotificationDaemon com.nokia.HildonSVNotificationDaemon.StopEvent to stop the playing ring-tone. Specs for this are in hd-sv-notification-daemon.xml in hildon-home source.

cui_tones_tone_start

calls com.Nokia.Telephony.Tones /com/Nokia/Telephony/Tones com.Nokia.Telephony.Tones.StartEventTone to play tones. Arguments are unsigned int event, int volume, unsigned int duration.

cui_tones_tone_stop

calls com.Nokia.Telephony.Tones /com/Nokia/Telephony/Tones com.Nokia.Telephony.Tones.StopTone to stop the playing tones. No arguments.

cui_utils_account_get_vcard_field

calls mc_account_compat_get_profile to get a profile from a McAccount. Calls mc_profile_lookup to get a McProfile from the profile. Calls mc_profile_get_vcard_field to get the vcard field from the McProfile.

cui_utils_account_is_ring

Compares the manager_name field of the McAccount structure with "ring"

cui_utils_account_is_tel

Compares the protocol_name field of the McAccount structure with "tel"

cui_utils_avatar_button_new

UI widget for an avatar button involving a GtkButton.

cui_utils_button_new

UI widget for a button.

cui_utils_button_set_height_hint

Sets height of a button UI widget.

cui_utils_get_current_time

calls clock_gettime to obtain the current time

cui_utils_get_elapsed_time

calls clock_gettime to obtain the time and does some math on it

cui_utils_get_formatted_time

calls time_format to get a formatted time

cui_utils_get_formatted_time_lz

calls time_format to get a formatted time

cui_utils_get_icon_from_account

calls mc_account_compat_get_profile to get a profile from a McAccount. Calls mc_profile_lookup to get a McProfile from the profile. Calls mc_profile_get_icon_name to get the icon name from the McProfile.

cui_utils_get_timespec_diff

Gets the difference between 2 times.

cui_utils_key_event_to_dtmf_digit

Takes a GdkEventKey *, converts it to DTMF tone via gdk_keymap_get_default then gdk_keymap_lookup_key then does something to convert it to a DTMF value

cui_utils_normalize_number

Does some stuff to a phone number (removing - and ( and ) and space and etc)

cui_utils_parse_uri

Parses a URI

cui_utils_validate_number

Validates a number

cui_utils_vcard_find_attribute

Finds a vcard attribute

cui_utils_widget_modify_font_size

Changes the font size of a widget. Uses the font Nokia Sans.

cui_utils_window_request_orientation

Uses _HILDON_PORTRAIT_MODE_REQUEST to request orientation of a window

cui_utils_window_set_orientation

Uses _HILDON_PORTRAIT_MODE_REQUEST to set orientation of a window

cui_utils_window_set_supports_portrait

Uses _HILDON_PORTRAIT_MODE_SUPPORT to set portrait support for a window

cui_video_frame

Implements type CuiVideoFrame which is a UI widget derived from GtkFrame.

cui_video_window_get_type

Implements type CuiVideoWindow which is a UI widget derived from GtkSocket.

rtcom_tp_cli_channel_interface_conference

Functions for conference calls. Details TBA.

rtcom_tp_cli_channel_interface_dial_strings

Functions for dial strings. Details TBA.

rtcom_tp_cli_channel_interface_emergency

Functions for emergency calls. Details TBA.

rtcom_tp_cli_channel_interface_mute

Functions related to mute. Details TBA.

rtcom_tp_cli_channel_interface_privacy

Functions related to privacy. Details TBA.

rtcom_tp_cli_channel_interface_skype

Functions related to skype. Details TBA.

rtcom_tp_cli_channel_interface_tp_conference

Functions related to conference channels. Details TBA.

rtcom_tp_cli_channel_type_contact_search

Functions related to contact search. Details TBA.

rtcom_tp_cli_connection_interface_contact_info

Functions related to contact info. Details TBA.

rtcom_tp_cli_connection_interface_emergency

Functions related to emergency. Details TBA.

rtcom_tp_cli_connection_interface_forwarding

Functions related to forwarding. Details TBA.

rtcom_tp_cli_connection_interface_privacy

Functions related to privacy. Details TBA.

rtcom_tp_cli_connection_interface_skype

Functions related to skype. Details TBA.

rtcom_tp_cli_connection_interface_stored_messages

Functions related to stored messages. Details TBA.

rtcom_tp_cli_init

Initialize call UI rtcom stuff

rtcom_tp_cli_stream_engine

Functions related to stream engine. Details TBA.

rtcom_tp_cli_streamhandler_interface_video_control

Functions related to video control. Details TBA.

rtcom_tp_iface_quark

Obtains quarks for various static strings


rtcom_tp_stream_engine

Creates object of type RTComTpStreamEngine and hooks up to dbus interface org.maemo.Telepathy.StreamEngine

rtcom_tp_type

Marshal functions for dbus stuff