~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to gnome/src/actions.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-19 21:46:37 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120519214637-la8rbrford5kj6m3
Tags: 1.1.0-1
* New upstream release 
  - Fixes "FTBFS with libccrtp-dev/2.0.2 from experimental" (Closes: #663282)
* NEW Maintainer: Debian VoIP Team - Thanks Francois for your work.
  - (Closes: #665789: O: sflphone -- SIP and IAX2 compatible VoIP phone)
* Added Build-Depends: libdbus-c++-bin
* Add gcc47-fixes.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 * Initialize lists and configurations
53
53
 * @return TRUE if succeeded, FALSE otherwise
54
54
 */
55
 
gboolean sflphone_init () ;
 
55
gboolean sflphone_init(GError **error);
56
56
 
57
57
/**
58
58
 * Steps when closing the application.  Will ask for confirmation if a call is in progress.
59
59
 */
60
 
void sflphone_quit () ;
 
60
void sflphone_quit();
61
61
 
62
62
/**
63
63
 * Hang up / refuse the current call
64
64
 */
65
 
void sflphone_hang_up ();
 
65
void sflphone_hang_up();
66
66
 
67
67
/**
68
68
 * Put the selected call on hold
69
69
 */
70
 
void sflphone_on_hold ();
 
70
void sflphone_on_hold();
71
71
 
72
72
/**
73
73
 * Put the selected call off hold
74
74
 */
75
 
void sflphone_off_hold ();
 
75
void sflphone_off_hold();
76
76
 
77
77
/**
78
78
 * Open a new call
85
85
 * @param accountID The account the voice mails are for
86
86
 * @param count The number of voice mails
87
87
 */
88
 
void sflphone_notify_voice_mail (const gchar* accountID , guint count);
 
88
void sflphone_notify_voice_mail(const gchar* accountID, guint count);
89
89
 
90
90
/**
91
91
 * Prepare SFLphone to transfer a call and wait for the user to dial the number to transfer to
101
101
/**
102
102
 * Accept / dial the current call
103
103
 */
104
 
void sflphone_pick_up ();
 
104
void sflphone_pick_up();
105
105
 
106
106
/**
107
107
 * Put the call on hold state
108
108
 * @param c The current call
109
109
 */
110
 
void sflphone_hold (callable_obj_t * c);
 
110
void sflphone_hold(callable_obj_t * c);
111
111
 
112
112
/**
113
113
 * Put the call in Ringing state
114
114
 * @param c* The current call
115
115
 */
116
 
void sflphone_ringing (callable_obj_t * c);
 
116
void sflphone_ringing(callable_obj_t * c);
117
117
 
118
118
/**
119
119
 * Put the call in Busy state
120
120
 * @param c* The current call
121
121
 */
122
 
void sflphone_busy (callable_obj_t * c);
 
122
void sflphone_busy(callable_obj_t * c);
123
123
 
124
124
/**
125
125
 * Put the call in Failure state
126
126
 * @param c* The current call
127
127
 */
128
 
void sflphone_fail (callable_obj_t * c);
 
128
void sflphone_fail(callable_obj_t * c);
129
129
 
130
130
/**
131
131
 * Put the call in Current state
132
132
 * @param c The current call
133
133
 */
134
 
void sflphone_current (callable_obj_t * c);
 
134
void sflphone_current(callable_obj_t * c);
135
135
 
136
136
/**
137
137
 * The callee has hung up
138
138
 * @param c The current call
139
139
 */
140
 
void sflphone_hung_up (callable_obj_t * c);
 
140
void sflphone_hung_up(callable_obj_t * c);
141
141
 
142
142
/**
143
143
 * Incoming call
144
144
 * @param c The incoming call
145
145
 */
146
 
void sflphone_incoming_call (callable_obj_t * c);
 
146
void sflphone_incoming_call(callable_obj_t * c);
147
147
 
148
148
/**
149
149
 * Dial the number
151
151
 * @param keyval The unique int representing the key
152
152
 * @param key The char value of the key
153
153
 */
154
 
void sflphone_keypad (guint keyval, gchar * key);
 
154
void sflphone_keypad(guint keyval, gchar * key);
155
155
 
156
156
/**
157
157
 * Place a call with a filled callable_obj_t.to
158
158
 * @param c A call in CALL_STATE_DIALING state
159
159
 */
160
 
void sflphone_place_call (callable_obj_t * c);
 
160
int sflphone_place_call(callable_obj_t * c);
161
161
 
162
162
/**
163
163
 * Fetch the ip2ip profile through dbus and fill
164
164
 * the internal hash table.
165
165
 */
166
 
void sflphone_fill_ip2ip_profile (void);
 
166
void sflphone_fill_ip2ip_profile(void);
167
167
 
168
168
/**
169
169
 * @return The internal hash table representing
172
172
GHashTable *sflphone_get_ip2ip_properties(void);
173
173
 
174
174
/**
175
 
 * Initialize the accounts data structure
 
175
 * Get a list of accounts from the daemon and load them into account_t
 
176
 * structures.
176
177
 */
177
 
void sflphone_fill_account_list ();
 
178
void sflphone_fill_account_list();
178
179
 
179
 
void sflphone_fill_call_list (void);
 
180
void sflphone_fill_call_list(void);
180
181
 
181
182
/**
182
183
 * Set an account as current. The current account is to one used to place calls with by default
183
 
 * The current account is the first in the account list ( index 0 )
 
184
 * The current account is the first in the account list( index 0 )
184
185
 */
185
186
void sflphone_set_current_account();
186
187
 
187
188
/**
188
189
 * Initialialize the codecs data structure
189
190
 */
190
 
void sflphone_fill_codec_list ();
191
 
 
192
 
void sflphone_fill_codec_list_per_account (account_t *);
 
191
void sflphone_fill_codec_list_per_account(account_t *);
193
192
 
194
193
void sflphone_add_participant();
195
194
 
196
 
void sflphone_record (callable_obj_t *c);
197
 
 
198
 
void sflphone_rec_call (void);
199
 
 
200
 
void status_bar_display_account ();
201
 
 
202
 
void sflphone_fill_history (void);
 
195
void sflphone_record(callable_obj_t *c);
 
196
 
 
197
void sflphone_rec_call(void);
 
198
 
 
199
void sflphone_mute_call(void);
 
200
 
 
201
void status_bar_display_account();
 
202
 
 
203
void sflphone_fill_history(void);
203
204
 
204
205
/**
205
206
 * Action called when a new participant is dragged in
206
207
 */
207
 
void sflphone_add_participant (const gchar* callID, const gchar* confID);
 
208
void sflphone_add_participant(const gchar* callID, const gchar* confID);
208
209
 
209
210
/**
210
211
 * Action called when a conference participant is draged out
211
212
 */
212
 
void sflphone_detach_participant (const gchar* callID);
 
213
void sflphone_detach_participant(const gchar* callID);
213
214
 
214
215
/**
215
216
 * Nofity that the communication is
216
217
 * now secured using SRTP/SDES.
217
218
 * @param c* The current call
218
219
 */
219
 
void sflphone_srtp_sdes_on (callable_obj_t * c);
 
220
void sflphone_srtp_sdes_on(callable_obj_t * c);
220
221
 
221
222
/**
222
223
 * Notify that the SRTP/SDES session
228
229
 * now secured using ZRTP.
229
230
 * @param c* The current call
230
231
 */
231
 
void sflphone_srtp_zrtp_on (callable_obj_t * c);
 
232
void sflphone_srtp_zrtp_on(callable_obj_t * c);
232
233
 
233
234
/**
234
235
 * Called when the ZRTP session goes
235
236
 * unsecured.
236
237
 * @param c* The current call
237
238
 */
238
 
void sflphone_srtp_zrtp_off (callable_obj_t * c);
 
239
void sflphone_srtp_zrtp_off(callable_obj_t * c);
239
240
 
240
241
/**
241
242
 * Called when the sas has been computed
244
245
 * @param sas* The Short Authentication String
245
246
 * @param verified* Weather the SAS was confirmed or not.
246
247
 */
247
 
void sflphone_srtp_zrtp_show_sas (callable_obj_t * c, const gchar* sas, const gboolean verified);
 
248
void sflphone_srtp_zrtp_show_sas(callable_obj_t * c, const gchar* sas, const gboolean verified);
248
249
 
249
250
/**
250
251
 * Called when user wants to clear.
251
252
 * @param c* The call on which to go clear
252
253
 */
253
 
void sflphone_request_go_clear (void);
 
254
 
 
255
void sflphone_request_go_clear(void);
254
256
 
255
257
/**
256
258
 * Called when the UI needs to be refreshed to
260
262
 * @param description A textual description of the code
261
263
 * @param code The status code as in SIP or IAX
262
264
 */
263
 
void sflphone_call_state_changed (callable_obj_t * c, const gchar * description, const guint code);
264
 
 
265
 
void sflphone_add_main_participant (const conference_obj_t * c);
266
 
 
267
 
void sflphone_srtp_sdes_off (callable_obj_t * c);
268
 
 
269
 
void sflphone_fill_conference_list (void);
 
265
void sflphone_call_state_changed(callable_obj_t * c, const gchar * description, const guint code);
 
266
 
 
267
void sflphone_add_main_participant(const conference_obj_t * c);
 
268
 
 
269
void sflphone_srtp_sdes_off(callable_obj_t * c);
 
270
 
 
271
void sflphone_fill_conference_list(void);
270
272
 
271
273
#endif