Skip to content
Snippets Groups Projects
Commit 27aa71bd authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Client Documentation

parent 46b3e2a0
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ html_parent_dir = . ...@@ -5,7 +5,7 @@ html_parent_dir = .
HTML_HEADER = HTML_HEADER =
HTML_FOOTER = HTML_FOOTER =
all: all: doxygen-trac
.PHONY: doxygen-trac .PHONY: doxygen-trac
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8 DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = SFLPhoneCore PROJECT_NAME = SFLphone Core
PROJECT_NUMBER = PROJECT_NUMBER =
OUTPUT_DIRECTORY = OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
...@@ -75,10 +75,10 @@ WARN_LOGFILE = ...@@ -75,10 +75,10 @@ WARN_LOGFILE =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the input files # configuration options related to the input files
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
INPUT = @-top_srcdir-@/src INPUT = @-top_srcdir-@/src @-top_srcdir-@/src/audio @-top_srcdir-@/src/audio/codecs @-top_srcdir-@/src/dbus @-top_srcdir-@/src/config @-top_srcdir-@/src/zeroconf
INPUT_ENCODING = UTF-8 INPUT_ENCODING = UTF-8
FILE_PATTERNS = FILE_PATTERNS =
RECURSIVE = YES RECURSIVE = NO
EXCLUDE = EXCLUDE =
EXCLUDE_SYMLINKS = NO EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = EXCLUDE_PATTERNS =
......
...@@ -26,7 +26,7 @@ INHERIT_DOCS = YES ...@@ -26,7 +26,7 @@ INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 8 TAB_SIZE = 8
ALIASES = ALIASES =
OPTIMIZE_OUTPUT_FOR_C = YESsrc OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = NO OPTIMIZE_OUTPUT_JAVA = NO
BUILTIN_STL_SUPPORT = NO BUILTIN_STL_SUPPORT = NO
CPP_CLI_SUPPORT = NO CPP_CLI_SUPPORT = NO
...@@ -78,7 +78,7 @@ WARN_LOGFILE = ...@@ -78,7 +78,7 @@ WARN_LOGFILE =
INPUT = @-top_srcdir-@/sflphone-gtk/src INPUT = @-top_srcdir-@/sflphone-gtk/src
INPUT_ENCODING = UTF-8 INPUT_ENCODING = UTF-8
FILE_PATTERNS = FILE_PATTERNS =
RECURSIVE = YES RECURSIVE = NO
EXCLUDE = EXCLUDE =
EXCLUDE_SYMLINKS = NO EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = EXCLUDE_PATTERNS =
......
...@@ -89,7 +89,7 @@ void account_list_remove (const gchar * accountID); ...@@ -89,7 +89,7 @@ void account_list_remove (const gchar * accountID);
/** /**
* Return the first account that corresponds to the state * Return the first account that corresponds to the state
* @param s The state * @param state The state
* @return account_t* An account or NULL * @return account_t* An account or NULL
*/ */
account_t * account_list_get_by_state ( account_state_t state); account_t * account_list_get_by_state ( account_state_t state);
......
...@@ -95,43 +95,43 @@ void sflphone_pick_up (); ...@@ -95,43 +95,43 @@ void sflphone_pick_up ();
/** /**
* Put the call on hold state * Put the call on hold state
* @param call_t* The current call * @param c The current call
*/ */
void sflphone_hold ( call_t * c); void sflphone_hold ( call_t * c);
/** /**
* Put the call in Ringing state * Put the call in Ringing state
* @param call_t* The current call * @param c* The current call
*/ */
void sflphone_ringing(call_t * c ); void sflphone_ringing(call_t * c );
/** /**
* Put the call in Busy state * Put the call in Busy state
* @param call_t* The current call * @param c* The current call
*/ */
void sflphone_busy( call_t * c ); void sflphone_busy( call_t * c );
/** /**
* Put the call in Failure state * Put the call in Failure state
* @param call_t* The current call * @param c* The current call
*/ */
void sflphone_fail( call_t * c ); void sflphone_fail( call_t * c );
/** /**
* Put the call in Current state * Put the call in Current state
* @param call_t* The current call * @param c The current call
*/ */
void sflphone_current ( call_t * c); void sflphone_current ( call_t * c);
/** /**
* The callee has hung up * The callee has hung up
* @param call_t* The current call * @param c The current call
*/ */
void sflphone_hung_up( call_t * c); void sflphone_hung_up( call_t * c);
/** /**
* Incoming call * Incoming call
* @param call_t* The incoming call * @param c The incoming call
*/ */
void sflphone_incoming_call ( call_t * c); void sflphone_incoming_call ( call_t * c);
...@@ -139,7 +139,7 @@ void sflphone_incoming_call ( call_t * c); ...@@ -139,7 +139,7 @@ void sflphone_incoming_call ( call_t * c);
* Dial the number * Dial the number
* If the call is in DIALING state, the char will be append to the number * If the call is in DIALING state, the char will be append to the number
* @param keyval The unique int representing the key * @param keyval The unique int representing the key
* @param keyval The char value of the key * @param key The char value of the key
*/ */
void sflphone_keypad ( guint keyval, gchar * key); void sflphone_keypad ( guint keyval, gchar * key);
......
...@@ -113,8 +113,8 @@ call_t * call_list_get_nth ( guint n ); ...@@ -113,8 +113,8 @@ call_t * call_list_get_nth ( guint n );
/** /**
* Return the call corresponding to the callID * Return the call corresponding to the callID
* @param n The callID of the call you want * @param callID The callID of the call you want
* @return A call or NULL * @return call_t* A call or NULL
*/ */
call_t * call_list_get ( const gchar * callID ); call_t * call_list_get ( const gchar * callID );
......
...@@ -58,7 +58,7 @@ void codec_list_clear(); ...@@ -58,7 +58,7 @@ void codec_list_clear();
/** /**
* This function append an codec to list. * This function append an codec to list.
* @param a The codec you want to add * @param c The codec you want to add
*/ */
void codec_list_add(codec_t * c); void codec_list_add(codec_t * c);
......
...@@ -837,9 +837,6 @@ dbus_get_output_audio_plugin_list() ...@@ -837,9 +837,6 @@ dbus_get_output_audio_plugin_list()
return array; return array;
} }
/**
* Sets the input audio plugin from its name
*/
void void
dbus_set_input_audio_plugin(gchar* audioPlugin) dbus_set_input_audio_plugin(gchar* audioPlugin)
{ {
...@@ -859,9 +856,6 @@ dbus_set_input_audio_plugin(gchar* audioPlugin) ...@@ -859,9 +856,6 @@ dbus_set_input_audio_plugin(gchar* audioPlugin)
g_print("DBus called set_input_audio_plugin() on ConfigurationManager\n"); g_print("DBus called set_input_audio_plugin() on ConfigurationManager\n");
} }
/**
* Sets the output audio plugin from its name
*/
void void
dbus_set_output_audio_plugin(gchar* audioPlugin) dbus_set_output_audio_plugin(gchar* audioPlugin)
{ {
......
...@@ -190,13 +190,13 @@ gchar** dbus_get_output_audio_plugin_list(); ...@@ -190,13 +190,13 @@ gchar** dbus_get_output_audio_plugin_list();
/** /**
* ConfigurationManager - Select an input audio plugin * ConfigurationManager - Select an input audio plugin
* @param gchar* The string description of the plugin * @param audioPlugin The string description of the plugin
*/ */
void dbus_set_input_audio_plugin(gchar* audioPlugin); void dbus_set_input_audio_plugin(gchar* audioPlugin);
/** /**
* ConfigurationManager - Select an output audio plugin * ConfigurationManager - Select an output audio plugin
* @param gchar* The string description of the plugin * @param audioPlugin The string description of the plugin
*/ */
void dbus_set_output_audio_plugin(gchar* audioPlugin); void dbus_set_output_audio_plugin(gchar* audioPlugin);
......
...@@ -38,7 +38,7 @@ void update_menus(); ...@@ -38,7 +38,7 @@ void update_menus();
/** /**
* Create a menu on right-click * Create a menu on right-click
* @param mywidget The widget you click on * @param my_widget The widget you click on
* @param event The mouse event * @param event The mouse event
*/ */
void show_popup_menu (GtkWidget *my_widget, GdkEventButton *event); void show_popup_menu (GtkWidget *my_widget, GdkEventButton *event);
......
...@@ -20,11 +20,12 @@ ...@@ -20,11 +20,12 @@
#ifndef __SFLPHONE_CONST_H #ifndef __SFLPHONE_CONST_H
#define __SFLPHONE_CONST_H #define __SFLPHONE_CONST_H
#include <libintl.h>
#include "dbus.h"
/* @file sflphone_const.h /* @file sflphone_const.h
* @brief Contains the global variables for the client code * @brief Contains the global variables for the client code
*/ */
#include <libintl.h>
#include "dbus.h"
/** Locale */ /** Locale */
#define _(STRING) gettext( STRING ) #define _(STRING) gettext( STRING )
......
...@@ -98,12 +98,6 @@ mute_cb( GtkWidget *widget, gchar* device ) ...@@ -98,12 +98,6 @@ mute_cb( GtkWidget *widget, gchar* device )
update_icons (dev); update_icons (dev);
} }
/** This function updates the sliders without sending the value to the server.
* This behavior prevents an infinite loop when receiving an updated volume from
* the server.
* @param device The device slider to update {speaker, mic}
* @param value The value to set [0, 1.0]
*/
void void
set_slider(const gchar * device, gdouble newval) set_slider(const gchar * device, gdouble newval)
{ {
......
...@@ -32,10 +32,13 @@ ...@@ -32,10 +32,13 @@
*/ */
GtkWidget * create_slider(const gchar * device); GtkWidget * create_slider(const gchar * device);
/** /**
* Change the value of the specified device * This function updates the sliders without sending the value to the server.
* @param device Mic or speaker * This behavior prevents an infinite loop when receiving an updated volume from
* @param value The new value * the server.
* @param device The device slider to update {speaker, mic}
* @param value The value to set [0, 1.0]
*/ */
void set_slider(const gchar * device, gdouble value); void set_slider(const gchar * device, gdouble value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment