blob: 8c8dc63d1e45c6207708bfad78a3ccda3cfd7a49 [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 Savard713a34d2012-09-26 15:50:41 -040038 public StringMap getAccountDetails(String accountID) {
39 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountDetails(swigCPtr, this, accountID), true);
40 }
41
Alexandre Savardc1b08fe2012-09-25 16:24:47 -040042 public void setAudioPlugin(String audioPlugin) {
43 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioPlugin(swigCPtr, this, audioPlugin);
44 }
45
46 public ConfigurationManagerJNI() {
47 this(SFLPhoneserviceJNI.new_ConfigurationManagerJNI(), true);
48 }
49
50}