blob: 6e38495bfbb96c4bc4735b6f28e4be6ef7391954 [file] [log] [blame]
Alexandre Savardc1b08fe2012-09-25 16:24:47 -04001/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 2.0.8
4 *
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8
9package com.savoirfairelinux.sflphone.service;
10
11public class ConfigurationManagerJNI {
12 private long swigCPtr;
13 protected boolean swigCMemOwn;
14
15 protected ConfigurationManagerJNI(long cPtr, boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
17 swigCPtr = cPtr;
18 }
19
20 protected static long getCPtr(ConfigurationManagerJNI obj) {
21 return (obj == null) ? 0 : obj.swigCPtr;
22 }
23
24 protected void finalize() {
25 delete();
26 }
27
28 public synchronized void delete() {
29 if (swigCPtr != 0) {
30 if (swigCMemOwn) {
31 swigCMemOwn = false;
32 SFLPhoneserviceJNI.delete_ConfigurationManagerJNI(swigCPtr);
33 }
34 swigCPtr = 0;
35 }
36 }
37
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040038 public StringMap getIp2IpDetails() {
39 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getIp2IpDetails(swigCPtr, this), true);
40 }
41
Alexandre Savard713a34d2012-09-26 15:50:41 -040042 public StringMap getAccountDetails(String accountID) {
43 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountDetails(swigCPtr, this, accountID), true);
44 }
45
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040046 public StringMap getTlsSettingsDefault() {
47 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getTlsSettingsDefault(swigCPtr, this), true);
48 }
49
50 public StringMap getTlsSettings() {
51 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getTlsSettings(swigCPtr, this), true);
52 }
53
54 public void setTlsSettings(StringMap details) {
55 SFLPhoneserviceJNI.ConfigurationManagerJNI_setTlsSettings(swigCPtr, this, StringMap.getCPtr(details), details);
56 }
57
58 public void setAccountDetails(String accountID, StringMap details) {
59 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAccountDetails(swigCPtr, this, accountID, StringMap.getCPtr(details), details);
60 }
61
62 public void sendRegister(String accountID, boolean enable) {
63 SFLPhoneserviceJNI.ConfigurationManagerJNI_sendRegister(swigCPtr, this, accountID, enable);
64 }
65
66 public void registerAllAccounts() {
67 SFLPhoneserviceJNI.ConfigurationManagerJNI_registerAllAccounts(swigCPtr, this);
68 }
69
70 public StringMap getAccountTemplate() {
71 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountTemplate(swigCPtr, this), true);
72 }
73
74 public String addAccount(StringMap details) {
75 return SFLPhoneserviceJNI.ConfigurationManagerJNI_addAccount(swigCPtr, this, StringMap.getCPtr(details), details);
76 }
77
78 public void removeAccount(String accoundID) {
79 SFLPhoneserviceJNI.ConfigurationManagerJNI_removeAccount(swigCPtr, this, accoundID);
80 }
81
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040082 public StringVect getAccountList() {
83 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040084 }
85
86 public SWIGTYPE_p_std__vectorT_int32_t_t getAudioCodecList() {
87 return new SWIGTYPE_p_std__vectorT_int32_t_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioCodecList(swigCPtr, this), true);
88 }
89
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040090 public StringVect getSupportedTlsMethod() {
91 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getSupportedTlsMethod(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040092 }
93
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040094 public StringVect getAudioCodecDetails(SWIGTYPE_p_int32_t payload) {
95 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioCodecDetails(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(payload)), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040096 }
97
98 public SWIGTYPE_p_std__vectorT_int32_t_t getActiveAudioCodecList(String accountID) {
99 return new SWIGTYPE_p_std__vectorT_int32_t_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getActiveAudioCodecList(swigCPtr, this, accountID), true);
100 }
101
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400102 public void setActiveAudioCodecList(StringVect list, String accountID) {
103 SFLPhoneserviceJNI.ConfigurationManagerJNI_setActiveAudioCodecList(swigCPtr, this, StringVect.getCPtr(list), list, accountID);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400104 }
105
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400106 public StringVect getAudioPluginList() {
107 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioPluginList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400108 }
109
Alexandre Savardc1b08fe2012-09-25 16:24:47 -0400110 public void setAudioPlugin(String audioPlugin) {
111 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioPlugin(swigCPtr, this, audioPlugin);
112 }
113
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400114 public StringVect getAudioOutputDeviceList() {
115 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioOutputDeviceList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400116 }
117
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400118 public StringVect getAudioInputDeviceList() {
119 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioInputDeviceList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400120 }
121
122 public void setAudioOutputDevice(SWIGTYPE_p_int32_t index) {
123 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioOutputDevice(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(index));
124 }
125
126 public void setAudioInputDevice(SWIGTYPE_p_int32_t index) {
127 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioInputDevice(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(index));
128 }
129
130 public void setAudioRingtoneDevice(SWIGTYPE_p_int32_t index) {
131 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioRingtoneDevice(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(index));
132 }
133
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400134 public StringVect getCurrentAudioDevicesIndex() {
135 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getCurrentAudioDevicesIndex(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400136 }
137
138 public SWIGTYPE_p_int32_t getAudioDeviceIndex(String name) {
139 return new SWIGTYPE_p_int32_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioDeviceIndex(swigCPtr, this, name), true);
140 }
141
142 public String getCurrentAudioOutputPlugin() {
143 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getCurrentAudioOutputPlugin(swigCPtr, this);
144 }
145
146 public String getNoiseSuppressState() {
147 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getNoiseSuppressState(swigCPtr, this);
148 }
149
150 public void setNoiseSuppressState(String state) {
151 SFLPhoneserviceJNI.ConfigurationManagerJNI_setNoiseSuppressState(swigCPtr, this, state);
152 }
153
154 public String getEchoCancelState() {
155 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelState(swigCPtr, this);
156 }
157
158 public StringMap getRingtoneList() {
159 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getRingtoneList(swigCPtr, this), true);
160 }
161
162 public void setEchoCancelState(String state) {
163 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelState(swigCPtr, this, state);
164 }
165
166 public int getEchoCancelTailLength() {
167 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelTailLength(swigCPtr, this);
168 }
169
170 public void setEchoCancelTailLength(SWIGTYPE_p_int32_t length) {
171 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelTailLength(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(length));
172 }
173
174 public int getEchoCancelDelay() {
175 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelDelay(swigCPtr, this);
176 }
177
178 public void setEchoCancelDelay(SWIGTYPE_p_int32_t delay) {
179 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelDelay(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(delay));
180 }
181
182 public SWIGTYPE_p_int32_t isIax2Enabled() {
183 return new SWIGTYPE_p_int32_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_isIax2Enabled(swigCPtr, this), true);
184 }
185
186 public String getRecordPath() {
187 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getRecordPath(swigCPtr, this);
188 }
189
190 public void setRecordPath(String recPath) {
191 SFLPhoneserviceJNI.ConfigurationManagerJNI_setRecordPath(swigCPtr, this, recPath);
192 }
193
194 public boolean getIsAlwaysRecording() {
195 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getIsAlwaysRecording(swigCPtr, this);
196 }
197
198 public void setIsAlwaysRecording(boolean rec) {
199 SFLPhoneserviceJNI.ConfigurationManagerJNI_setIsAlwaysRecording(swigCPtr, this, rec);
200 }
201
202 public SWIGTYPE_p_int32_t getHistoryLimit() {
203 return new SWIGTYPE_p_int32_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getHistoryLimit(swigCPtr, this), true);
204 }
205
206 public void clearHistory() {
207 SFLPhoneserviceJNI.ConfigurationManagerJNI_clearHistory(swigCPtr, this);
208 }
209
210 public void setHistoryLimit(SWIGTYPE_p_int32_t days) {
211 SFLPhoneserviceJNI.ConfigurationManagerJNI_setHistoryLimit(swigCPtr, this, SWIGTYPE_p_int32_t.getCPtr(days));
212 }
213
214 public void setAudioManager(String api) {
215 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioManager(swigCPtr, this, api);
216 }
217
218 public String getAudioManager() {
219 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioManager(swigCPtr, this);
220 }
221
222 public void setMailNotify() {
223 SFLPhoneserviceJNI.ConfigurationManagerJNI_setMailNotify(swigCPtr, this);
224 }
225
226 public SWIGTYPE_p_int32_t getMailNotify() {
227 return new SWIGTYPE_p_int32_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getMailNotify(swigCPtr, this), true);
228 }
229
230 public SWIGTYPE_p_std__mapT_std__string_int32_t_t getAddressbookSettings() {
231 return new SWIGTYPE_p_std__mapT_std__string_int32_t_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAddressbookSettings(swigCPtr, this), true);
232 }
233
234 public void setAddressbookSettings(SWIGTYPE_p_std__mapT_std__string_int32_t_t settings) {
235 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAddressbookSettings(swigCPtr, this, SWIGTYPE_p_std__mapT_std__string_int32_t_t.getCPtr(settings));
236 }
237
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400238 public StringVect getAddressbookList() {
239 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAddressbookList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400240 }
241
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400242 public void setAddressbookList(StringVect list) {
243 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAddressbookList(swigCPtr, this, StringVect.getCPtr(list), list);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400244 }
245
246 public StringMap getHookSettings() {
247 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getHookSettings(swigCPtr, this), true);
248 }
249
250 public void setHookSettings(StringMap settings) {
251 SFLPhoneserviceJNI.ConfigurationManagerJNI_setHookSettings(swigCPtr, this, StringMap.getCPtr(settings), settings);
252 }
253
254 public void setAccountsOrder(String order) {
255 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAccountsOrder(swigCPtr, this, order);
256 }
257
258 public String getAddrFromInterfaceName(String arg0) {
259 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAddrFromInterfaceName(swigCPtr, this, arg0);
260 }
261
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400262 public StringVect getAllIpInterface() {
263 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAllIpInterface(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400264 }
265
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400266 public StringVect getAllIpInterfaceByName() {
267 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAllIpInterfaceByName(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400268 }
269
270 public StringMap getShortcuts() {
271 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getShortcuts(swigCPtr, this), true);
272 }
273
274 public void setShortcuts(StringMap shortcutsMap) {
275 SFLPhoneserviceJNI.ConfigurationManagerJNI_setShortcuts(swigCPtr, this, StringMap.getCPtr(shortcutsMap), shortcutsMap);
276 }
277
278 public SWIGTYPE_p_std__vectorT_std__mapT_std__string_std__string_t_t getCredentials(String accountID) {
279 return new SWIGTYPE_p_std__vectorT_std__mapT_std__string_std__string_t_t(SFLPhoneserviceJNI.ConfigurationManagerJNI_getCredentials(swigCPtr, this, accountID), true);
280 }
281
282 public void setCredentials(String accountID, SWIGTYPE_p_std__vectorT_std__mapT_std__string_std__string_t_t details) {
283 SFLPhoneserviceJNI.ConfigurationManagerJNI_setCredentials(swigCPtr, this, accountID, SWIGTYPE_p_std__vectorT_std__mapT_std__string_std__string_t_t.getCPtr(details));
284 }
285
Alexandre Savardc1b08fe2012-09-25 16:24:47 -0400286 public ConfigurationManagerJNI() {
287 this(SFLPhoneserviceJNI.new_ConfigurationManagerJNI(), true);
288 }
289
290}