Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2012 Savoir-Faire Linux Inc. |
| 3 | * |
| 4 | * Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | * |
| 20 | * Additional permission under GNU GPL version 3 section 7: |
| 21 | * |
| 22 | * If you modify this program, or any covered work, by linking or |
| 23 | * combining it with the OpenSSL project's OpenSSL library (or a |
| 24 | * modified version of that library), containing parts covered by the |
| 25 | * terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc. |
| 26 | * grants you additional permission to convey the resulting work. |
| 27 | * Corresponding Source for a non-source form of such a combination |
| 28 | * shall include the source code for the parts of OpenSSL used as well |
| 29 | * as that of the covered work. |
| 30 | */ |
| 31 | |
| 32 | package com.savoirfairelinux.sflphone.client; |
| 33 | |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 34 | import android.app.Activity; |
| 35 | import android.preference.EditTextPreference; |
| 36 | import android.preference.Preference; |
| 37 | import android.preference.PreferenceCategory; |
| 38 | import android.preference.PreferenceFragment; |
| 39 | import android.preference.PreferenceScreen; |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 40 | import android.preference.ListPreference; |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 41 | import android.os.Bundle; |
Alexandre Savard | 12dc3ac | 2012-09-27 11:17:39 -0400 | [diff] [blame] | 42 | import android.os.RemoteException; |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 43 | import android.util.Log; |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 44 | import android.view.View; |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 45 | import android.widget.ArrayAdapter; |
| 46 | import android.widget.ListView; |
| 47 | import java.util.HashMap; |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 48 | import java.util.ArrayList; |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 49 | |
| 50 | import com.savoirfairelinux.sflphone.R; |
Alexandre Savard | 12dc3ac | 2012-09-27 11:17:39 -0400 | [diff] [blame] | 51 | import com.savoirfairelinux.sflphone.service.ISipService; |
| 52 | import com.savoirfairelinux.sflphone.service.SipService; |
| 53 | import com.savoirfairelinux.sflphone.service.ServiceConstants; |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 54 | |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 55 | public class AccountManagementFragment extends PreferenceFragment |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 56 | { |
| 57 | static final String TAG = "AccountManagementFragment"; |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 58 | static final String CURRENT_VALUE = "Current value:: "; |
| 59 | static final String DEFAULT_ACCOUNT_ID = "IP2IP"; |
Alexandre Savard | 12dc3ac | 2012-09-27 11:17:39 -0400 | [diff] [blame] | 60 | private ISipService service; |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 61 | HashMap<String, String> mAccountDetails = null; |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 62 | ArrayList<String> mAccountList = null; |
Alexandre Savard | 12dc3ac | 2012-09-27 11:17:39 -0400 | [diff] [blame] | 63 | |
| 64 | public AccountManagementFragment(ISipService s) |
| 65 | { |
| 66 | service = s; |
| 67 | } |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 68 | |
| 69 | @Override |
| 70 | public void onCreate(Bundle savedInstanceState) |
| 71 | { |
| 72 | super.onCreate(savedInstanceState); |
| 73 | |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 74 | Log.i(TAG, "Create Account Management Fragment"); |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 75 | |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 76 | // setPreferenceScreen(getAccountPreferenceScreen()); |
| 77 | setPreferenceScreen(getAccountListPreferenceScreen()); |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 78 | } |
| 79 | |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 80 | boolean onTextEditPreferenceChange(Preference preference, Object newValue) |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 81 | { |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 82 | Log.i(TAG, "Account Preference Changed " + preference.getTitle()); |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 83 | |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 84 | preference.setSummary(CURRENT_VALUE + (CharSequence)newValue); |
| 85 | |
| 86 | return true; |
| 87 | } |
| 88 | |
| 89 | Preference.OnPreferenceChangeListener changeTextEditListener = new Preference.OnPreferenceChangeListener() { |
| 90 | public boolean onPreferenceChange(Preference preference, Object newValue) { |
| 91 | preference.setSummary(CURRENT_VALUE + (CharSequence)newValue); |
| 92 | return true; |
| 93 | } |
| 94 | }; |
| 95 | |
| 96 | |
| 97 | Preference.OnPreferenceClickListener preferenceClick = new Preference.OnPreferenceClickListener() { |
| 98 | public boolean onPreferenceClick(Preference preference) { |
| 99 | return false; |
| 100 | } |
| 101 | }; |
| 102 | |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 103 | ArrayList<String> getAccountList() |
| 104 | { |
| 105 | ArrayList<String> accountList = null; |
| 106 | try { |
| 107 | accountList = (ArrayList) service.getAccountList(); |
| 108 | } catch (RemoteException e) { |
| 109 | Log.e(TAG, "Cannot call service method", e); |
| 110 | } |
| 111 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 112 | // Remove the default account from list |
| 113 | accountList.remove(DEFAULT_ACCOUNT_ID); |
| 114 | |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 115 | return accountList; |
| 116 | } |
| 117 | |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 118 | HashMap getAccountDetails(String accountID) |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 119 | { |
Alexandre Savard | 12dc3ac | 2012-09-27 11:17:39 -0400 | [diff] [blame] | 120 | HashMap accountDetails = null; |
| 121 | try { |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 122 | accountDetails = (HashMap) service.getAccountDetails(accountID); |
Alexandre Savard | 12dc3ac | 2012-09-27 11:17:39 -0400 | [diff] [blame] | 123 | } catch (RemoteException e) { |
| 124 | Log.e(TAG, "Cannot call service method", e); |
| 125 | } |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 126 | |
| 127 | return accountDetails; |
| 128 | } |
| 129 | |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 130 | public PreferenceScreen getAccountListPreferenceScreen() |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 131 | { |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 132 | Activity currentContext = getActivity(); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 133 | |
| 134 | mAccountList = getAccountList(); |
| 135 | Log.i(TAG, "GetAccountList: " + mAccountList); |
| 136 | |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 137 | PreferenceScreen root = getPreferenceManager().createPreferenceScreen(currentContext); |
| 138 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 139 | // Default account category |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 140 | PreferenceCategory defaultAccountCat = new PreferenceCategory(currentContext); |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 141 | defaultAccountCat.setTitle(R.string.default_account_category); |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 142 | root.addPreference(defaultAccountCat); |
| 143 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 144 | root.addPreference(getAccountPreferenceScreen(DEFAULT_ACCOUNT_ID)); |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 145 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 146 | // Account list category |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 147 | PreferenceCategory accountListCat = new PreferenceCategory(currentContext); |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 148 | accountListCat.setTitle(R.string.default_account_category); |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 149 | root.addPreference(accountListCat); |
| 150 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 151 | for(String s : mAccountList) |
| 152 | root.addPreference(getAccountPreferenceScreen(s)); |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 153 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 154 | return root; |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 155 | } |
| 156 | |
| 157 | public PreferenceScreen getAccountPreferenceScreen(String accountID) |
| 158 | { |
| 159 | Activity currentContext = getActivity(); |
| 160 | |
| 161 | mAccountDetails = getAccountDetails(accountID); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 162 | Log.i(TAG, "GetAccountDetails: " + mAccountDetails.size()); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 163 | |
| 164 | PreferenceScreen root = getPreferenceManager().createPreferenceScreen(currentContext); |
| 165 | |
Alexandre Savard | a6c0d99 | 2012-09-28 09:24:13 -0400 | [diff] [blame^] | 166 | root.setTitle(mAccountDetails.get(ServiceConstants.CONFIG_ACCOUNT_ALIAS)); |
Alexandre Savard | 7098201 | 2012-09-27 17:15:50 -0400 | [diff] [blame] | 167 | |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 168 | // Inline preference |
| 169 | PreferenceCategory accountPrefCat = new PreferenceCategory(currentContext); |
| 170 | accountPrefCat.setTitle(R.string.account_preferences); |
| 171 | root.addPreference(accountPrefCat); |
| 172 | |
| 173 | // Alias |
| 174 | EditTextPreference accountAliasPref = new EditTextPreference(currentContext); |
| 175 | accountAliasPref.setDialogTitle(R.string.dialogtitle_account_alias_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 176 | accountAliasPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 177 | accountAliasPref.setTitle(R.string.title_account_alias_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 178 | accountAliasPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_ACCOUNT_ALIAS)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 179 | accountAliasPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 180 | accountPrefCat.addPreference(accountAliasPref); |
| 181 | |
| 182 | // Hostname |
| 183 | EditTextPreference accountHostnamePref = new EditTextPreference(currentContext); |
| 184 | accountHostnamePref.setDialogTitle(R.string.dialogtitle_account_hostname_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 185 | accountHostnamePref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 186 | accountHostnamePref.setTitle(R.string.title_account_hostname_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 187 | accountHostnamePref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_ACCOUNT_HOSTNAME)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 188 | accountHostnamePref.setOnPreferenceChangeListener(changeTextEditListener); |
| 189 | accountPrefCat.addPreference(accountHostnamePref); |
| 190 | |
| 191 | // Username |
| 192 | EditTextPreference accountUsernamePref = new EditTextPreference(currentContext); |
| 193 | accountUsernamePref.setDialogTitle(R.string.dialogtitle_account_username_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 194 | accountUsernamePref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 195 | accountUsernamePref.setTitle(R.string.title_account_username_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 196 | accountUsernamePref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_ACCOUNT_USERNAME)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 197 | accountUsernamePref.setOnPreferenceChangeListener(changeTextEditListener); |
| 198 | accountPrefCat.addPreference(accountUsernamePref); |
| 199 | |
| 200 | // Proxy |
| 201 | EditTextPreference accountProxyPref = new EditTextPreference(currentContext); |
| 202 | accountProxyPref.setDialogTitle(R.string.dialogtitle_account_proxy_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 203 | accountProxyPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 204 | accountProxyPref.setTitle(R.string.title_account_proxy_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 205 | accountProxyPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_ACCOUNT_ROUTESET)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 206 | accountProxyPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 207 | accountPrefCat.addPreference(accountProxyPref); |
| 208 | |
| 209 | // Registration Timeout |
| 210 | EditTextPreference accountRegistrationPref = new EditTextPreference(currentContext); |
| 211 | accountRegistrationPref.setDialogTitle(R.string.dialogtitle_account_registration_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 212 | accountRegistrationPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 213 | accountRegistrationPref.setTitle(R.string.title_account_registration_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 214 | accountRegistrationPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_ACCOUNT_REGISTRATION_EXPIRE)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 215 | accountRegistrationPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 216 | accountPrefCat.addPreference(accountRegistrationPref); |
| 217 | |
| 218 | // Netowrk interface |
| 219 | EditTextPreference accountNetworkPref = new EditTextPreference(currentContext); |
| 220 | accountNetworkPref.setDialogTitle(R.string.dialogtitle_account_network_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 221 | accountNetworkPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 222 | accountNetworkPref.setTitle(R.string.title_account_network_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 223 | accountNetworkPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_LOCAL_INTERFACE)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 224 | accountNetworkPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 225 | accountPrefCat.addPreference(accountNetworkPref); |
| 226 | |
| 227 | // Account stun server |
| 228 | EditTextPreference accountSecurityPref = new EditTextPreference(currentContext); |
| 229 | accountSecurityPref.setDialogTitle(R.string.dialogtitle_account_security_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 230 | accountSecurityPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 231 | accountSecurityPref.setTitle(R.string.title_account_security_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 232 | accountSecurityPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_STUN_SERVER)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 233 | accountSecurityPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 234 | accountPrefCat.addPreference(accountSecurityPref); |
| 235 | |
| 236 | // Account tls feature |
| 237 | EditTextPreference accountTlsPref = new EditTextPreference(currentContext); |
| 238 | accountTlsPref.setDialogTitle(R.string.dialogtitle_account_tls_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 239 | accountTlsPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 240 | accountTlsPref.setTitle(R.string.title_account_tls_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 241 | accountTlsPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_TLS_ENABLE)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 242 | accountTlsPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 243 | accountPrefCat.addPreference(accountTlsPref); |
| 244 | |
| 245 | // Account srtp feature |
| 246 | EditTextPreference accountSrtpPref = new EditTextPreference(currentContext); |
| 247 | accountSrtpPref.setDialogTitle(R.string.dialogtitle_account_srtp_field); |
Alexandre Savard | 700c194 | 2012-09-11 15:30:38 -0400 | [diff] [blame] | 248 | accountSrtpPref.setPersistent(false); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 249 | accountSrtpPref.setTitle(R.string.title_account_srtp_field); |
Alexandre Savard | 52a7252 | 2012-09-27 16:40:13 -0400 | [diff] [blame] | 250 | accountSrtpPref.setSummary(CURRENT_VALUE + mAccountDetails.get(ServiceConstants.CONFIG_SRTP_ENABLE)); |
Alexandre Savard | 9a93f06 | 2012-09-11 10:42:43 -0400 | [diff] [blame] | 251 | accountSrtpPref.setOnPreferenceChangeListener(changeTextEditListener); |
| 252 | accountPrefCat.addPreference(accountSrtpPref); |
| 253 | |
| 254 | return root; |
| 255 | } |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 256 | } |