android: Field added to store the type of a VPN profile
[strongswan.git] / src / frontends / android / src / org / strongswan / android / data / VpnProfile.java
index fea9e5c..8323826 100644 (file)
@@ -20,6 +20,7 @@ package org.strongswan.android.data;
 public class VpnProfile implements Cloneable
 {
        private String mName, mGateway, mUsername, mPassword, mCertificate, mUserCertificate;
+       private VpnType mVpnType;
        private long mId = -1;
 
        public long getId()
@@ -52,6 +53,16 @@ public class VpnProfile implements Cloneable
                this.mGateway = gateway;
        }
 
+       public VpnType getVpnType()
+       {
+               return mVpnType;
+       }
+
+       public void setVpnType(VpnType type)
+       {
+               this.mVpnType = type;
+       }
+
        public String getUsername()
        {
                return mUsername;