blob: 78fee6d50319b148175b50f1947617048ac1da95 [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
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040086 public StringVect getSupportedTlsMethod() {
87 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getSupportedTlsMethod(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040088 }
89
alisiond295ec22013-05-17 10:12:13 -040090 public StringVect getAudioCodecDetails(int payload) {
91 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioCodecDetails(swigCPtr, this, payload), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040092 }
93
alisiond295ec22013-05-17 10:12:13 -040094 public IntVect getActiveAudioCodecList(String accountID) {
95 return new IntVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getActiveAudioCodecList(swigCPtr, this, accountID), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040096 }
97
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040098 public void setActiveAudioCodecList(StringVect list, String accountID) {
99 SFLPhoneserviceJNI.ConfigurationManagerJNI_setActiveAudioCodecList(swigCPtr, this, StringVect.getCPtr(list), list, accountID);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400100 }
101
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400102 public StringVect getAudioPluginList() {
103 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioPluginList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400104 }
105
Alexandre Savardc1b08fe2012-09-25 16:24:47 -0400106 public void setAudioPlugin(String audioPlugin) {
107 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioPlugin(swigCPtr, this, audioPlugin);
108 }
109
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400110 public StringVect getAudioOutputDeviceList() {
111 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioOutputDeviceList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400112 }
113
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400114 public StringVect getAudioInputDeviceList() {
115 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioInputDeviceList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400116 }
117
alisiond295ec22013-05-17 10:12:13 -0400118 public void setAudioOutputDevice(int index) {
119 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioOutputDevice(swigCPtr, this, index);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400120 }
121
alisiond295ec22013-05-17 10:12:13 -0400122 public void setAudioInputDevice(int index) {
123 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioInputDevice(swigCPtr, this, index);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400124 }
125
alisiond295ec22013-05-17 10:12:13 -0400126 public void setAudioRingtoneDevice(int index) {
127 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioRingtoneDevice(swigCPtr, this, index);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400128 }
129
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400130 public StringVect getCurrentAudioDevicesIndex() {
131 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getCurrentAudioDevicesIndex(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400132 }
133
alisiond295ec22013-05-17 10:12:13 -0400134 public int getAudioDeviceIndex(String name) {
135 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioDeviceIndex(swigCPtr, this, name);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400136 }
137
138 public String getCurrentAudioOutputPlugin() {
139 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getCurrentAudioOutputPlugin(swigCPtr, this);
140 }
141
142 public String getNoiseSuppressState() {
143 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getNoiseSuppressState(swigCPtr, this);
144 }
145
146 public void setNoiseSuppressState(String state) {
147 SFLPhoneserviceJNI.ConfigurationManagerJNI_setNoiseSuppressState(swigCPtr, this, state);
148 }
149
150 public String getEchoCancelState() {
151 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelState(swigCPtr, this);
152 }
153
154 public StringMap getRingtoneList() {
155 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getRingtoneList(swigCPtr, this), true);
156 }
157
158 public void setEchoCancelState(String state) {
159 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelState(swigCPtr, this, state);
160 }
161
alisiond295ec22013-05-17 10:12:13 -0400162 public int isIax2Enabled() {
163 return SFLPhoneserviceJNI.ConfigurationManagerJNI_isIax2Enabled(swigCPtr, this);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400164 }
165
166 public String getRecordPath() {
167 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getRecordPath(swigCPtr, this);
168 }
169
170 public void setRecordPath(String recPath) {
171 SFLPhoneserviceJNI.ConfigurationManagerJNI_setRecordPath(swigCPtr, this, recPath);
172 }
173
174 public boolean getIsAlwaysRecording() {
175 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getIsAlwaysRecording(swigCPtr, this);
176 }
177
178 public void setIsAlwaysRecording(boolean rec) {
179 SFLPhoneserviceJNI.ConfigurationManagerJNI_setIsAlwaysRecording(swigCPtr, this, rec);
180 }
181
alision04a00182013-05-10 17:05:29 -0400182 public void setRecordingCall(String id) {
183 SFLPhoneserviceJNI.ConfigurationManagerJNI_setRecordingCall(swigCPtr, this, id);
184 }
185
alisiond295ec22013-05-17 10:12:13 -0400186 public int getHistoryLimit() {
187 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getHistoryLimit(swigCPtr, this);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400188 }
189
190 public void clearHistory() {
191 SFLPhoneserviceJNI.ConfigurationManagerJNI_clearHistory(swigCPtr, this);
192 }
193
alisiond295ec22013-05-17 10:12:13 -0400194 public void setHistoryLimit(int days) {
195 SFLPhoneserviceJNI.ConfigurationManagerJNI_setHistoryLimit(swigCPtr, this, days);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400196 }
197
198 public void setAudioManager(String api) {
199 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioManager(swigCPtr, this, api);
200 }
201
202 public String getAudioManager() {
203 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioManager(swigCPtr, this);
204 }
205
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400206 public StringMap getHookSettings() {
207 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getHookSettings(swigCPtr, this), true);
208 }
209
210 public void setHookSettings(StringMap settings) {
211 SFLPhoneserviceJNI.ConfigurationManagerJNI_setHookSettings(swigCPtr, this, StringMap.getCPtr(settings), settings);
212 }
213
214 public void setAccountsOrder(String order) {
215 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAccountsOrder(swigCPtr, this, order);
216 }
217
alisione2a38e12013-04-25 14:20:20 -0400218 public VectMap getHistory() {
219 return new VectMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getHistory(swigCPtr, this), true);
220 }
221
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400222 public String getAddrFromInterfaceName(String arg0) {
223 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAddrFromInterfaceName(swigCPtr, this, arg0);
224 }
225
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400226 public StringVect getAllIpInterface() {
227 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAllIpInterface(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400228 }
229
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400230 public StringVect getAllIpInterfaceByName() {
231 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAllIpInterfaceByName(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400232 }
233
234 public StringMap getShortcuts() {
235 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getShortcuts(swigCPtr, this), true);
236 }
237
238 public void setShortcuts(StringMap shortcutsMap) {
239 SFLPhoneserviceJNI.ConfigurationManagerJNI_setShortcuts(swigCPtr, this, StringMap.getCPtr(shortcutsMap), shortcutsMap);
240 }
241
alisione2a38e12013-04-25 14:20:20 -0400242 public VectMap getCredentials(String accountID) {
243 return new VectMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getCredentials(swigCPtr, this, accountID), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400244 }
245
alisione2a38e12013-04-25 14:20:20 -0400246 public void setCredentials(String accountID, VectMap details) {
247 SFLPhoneserviceJNI.ConfigurationManagerJNI_setCredentials(swigCPtr, this, accountID, VectMap.getCPtr(details), details);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400248 }
249
Alexandre Savardc1b08fe2012-09-25 16:24:47 -0400250 public ConfigurationManagerJNI() {
251 this(SFLPhoneserviceJNI.new_ConfigurationManagerJNI(), true);
252 }
253
254}