~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to gnome/src/dbus/dbus.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
 
2
 *  Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
3
3
 *  Author: Pierre-Luc Beaudoin <pierre-luc.beaudoin@savoirfairelinux.com>
4
4
 *  Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
5
5
 *  Author: Guillaume Carmel-Archambault <guillaume.carmel-archambault@savoirfairelinux.com>
114
114
gchar **dbus_account_list();
115
115
 
116
116
/**
117
 
 * ConfigurationManager - Get the details of a specific account
118
 
 * @param accountID The unique of the account
119
 
 * @return GHashTable* The details of the account
 
117
 * configurationmanager - get a template for a new account
 
118
 * @return ghashtable* the details of the account
 
119
 */
 
120
GHashTable *dbus_get_account_template();
 
121
 
 
122
/**
 
123
 * configurationmanager - get the details of a specific account
 
124
 * @param accountid the unique of the account
 
125
 * @return ghashtable* the details of the account
120
126
 */
121
127
GHashTable *dbus_get_account_details(const gchar *accountID);
122
128
 
183
189
 */
184
190
gdouble dbus_get_volume(const gchar *device);
185
191
 
 
192
void dbus_mute_capture(gboolean mute);
 
193
void dbus_mute_playback(gboolean mute);
 
194
gboolean dbus_is_capture_muted();
 
195
gboolean dbus_is_playback_muted();
 
196
 
 
197
void dbus_mute_dtmf(gboolean mute);
 
198
gboolean dbus_is_dtmf_muted();
 
199
 
186
200
/**
187
201
 * ConfigurationManager - Play DTMF
188
202
 * @param key The DTMF to send
316
330
 
317
331
/**
318
332
 * ConfigurationManager - Get the current noise suppressor state
319
 
 * @return gchar* The state (enabled/disabled)
320
 
 */
321
 
gchar *dbus_get_noise_suppress_state(void);
322
 
 
323
 
/**
324
 
 * ConfigurationManager - Set the current noise suppressor state
325
 
 * @param gchar* The state (enabled/disabled)
326
 
 */
327
 
void dbus_set_noise_suppress_state(const gchar *state);
328
 
 
329
 
/**
330
 
 * ConfigurationManager - Get the current echo cancel state
331
 
 * @return gchar* The state (enabled/disabled)
332
 
 */
333
 
gchar *dbus_get_echo_cancel_state(void);
334
 
 
335
 
/**
336
 
 * ConfigurationManager - Set the current echo cancel state
337
 
 * @param gchar* The state (enabled/disabled)
338
 
 */
339
 
void dbus_set_echo_cancel_state(const gchar *state);
340
 
 
341
 
int dbus_get_echo_cancel_tail_length(void);
342
 
 
343
 
void dbus_set_echo_cancel_tail_length(int length);
344
 
 
345
 
int dbus_get_echo_cancel_delay(void);
346
 
 
347
 
void dbus_set_echo_cancel_delay(int delay);
 
333
 * @return gboolean The state (enabled/disabled)
 
334
 */
 
335
gboolean dbus_get_noise_suppress_state(void);
 
336
 
 
337
/**
 
338
 * ConfigurationManager - Set the current noise suppressor state
 
339
 * @param gboolean The state (enabled/disabled)
 
340
 */
 
341
void dbus_set_noise_suppress_state(gboolean state);
 
342
 
 
343
/**
 
344
 * ConfigurationManager - Get the current AGC state
 
345
 * @return gboolean The state (enabled/disabled)
 
346
 */
 
347
gboolean dbus_get_agc_state(void);
 
348
 
 
349
/**
 
350
 * ConfigurationManager - Set the current noise suppressor state
 
351
 * @param gboolean The state (enabled/disabled)
 
352
 */
 
353
void dbus_set_agc_state(gboolean state);
348
354
 
349
355
/**
350
356
 * ConfigurationManager - Tells the GUI if IAX2 support is enabled
439
445
/**
440
446
 * Toggle recording for this instance, may be call or conference
441
447
 */
442
 
void dbus_set_record(const gchar *id);
 
448
gboolean dbus_toggle_recording(const gchar *id);
443
449
 
444
450
/**
445
451
 * Set the path where the recorded audio files will be stored
600
606
 */
601
607
void dbus_stop_recorded_file_playback(const gchar *);
602
608
 
603
 
void dbus_start_video_preview();
604
 
void dbus_stop_video_preview();
605
 
gboolean dbus_has_video_preview_started();
 
609
void dbus_start_video_camera();
 
610
void dbus_stop_video_camera();
 
611
gboolean dbus_has_video_camera_started();
606
612
 
607
613
/**
608
614
 * Prevent Gnome Session Manager from entering in screen-saver mode
614
620
 */
615
621
void dbus_screensaver_uninhibit(void);
616
622
 
 
623
 
 
624
/**
 
625
 * Presence methods
 
626
 */
 
627
void dbus_presence_publish(const gchar *accountID, gboolean status);
 
628
void dbus_presence_subscribe(const gchar *accountID, const gchar *uri, gboolean flag);
617
629
#endif