package BWP.MobileSale.Config;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class LoginUserConfig extends ConfigBase {

	public LoginUserConfig(Context context) {
		super(context, "BWP.Sale.LoginUserConfig");
		// TODO Auto-generated constructor stub
	}

	@Override
	public
	void GetValues(SharedPreferences store) {
		Username = store.getString("Username", "");
		Password = store.getString("Password", "");
		SavePassword = store.getBoolean("SavePassword", false);
	}

	@Override
	public
	void SetValues(Editor store) {
		store.putString("Username", Username);
		store.putString("Password", Password);
		store.putBoolean("SavePassword",SavePassword);

	}
	
	public String Username;
	public String Password;
	public Boolean SavePassword;
	

}
