project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/PasswordDialog.java
changeset 7584 7831c84cc644
parent 7444 2e31f114f57e
child 10017 de822cd3df3a
equal deleted inserted replaced
7582:714310efad8f 7584:7831c84cc644
       
     1 /*
       
     2  * Hedgewars for Android. An Android port of Hedgewars, a free turn based strategy game
       
     3  * Copyright (C) 2012 Simeon Maxein <smaxein@googlemail.com>
       
     4  *
       
     5  * This program is free software; you can redistribute it and/or
       
     6  * modify it under the terms of the GNU General Public License
       
     7  * as published by the Free Software Foundation; either version 2
       
     8  * of the License, or (at your option) any later version.
       
     9  *
       
    10  * This program is distributed in the hope that it will be useful,
       
    11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    13  * GNU General Public License for more details.
       
    14  *
       
    15  * You should have received a copy of the GNU General Public License
       
    16  * along with this program; if not, write to the Free Software
       
    17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
       
    18  */
       
    19 
     1 package org.hedgewars.hedgeroid;
    20 package org.hedgewars.hedgeroid;
     2 
    21 
     3 import org.hedgewars.hedgeroid.netplay.Netplay;
    22 import org.hedgewars.hedgeroid.netplay.Netplay;
     4 
    23 
     5 import android.app.AlertDialog;
    24 import android.app.AlertDialog;
     8 import android.os.Bundle;
    27 import android.os.Bundle;
     9 import android.text.InputType;
    28 import android.text.InputType;
    10 import android.text.method.PasswordTransformationMethod;
    29 import android.text.method.PasswordTransformationMethod;
    11 import android.widget.EditText;
    30 import android.widget.EditText;
    12 
    31 
       
    32 /**
       
    33  * Shown when connecting to the server, and the server requests a password.
       
    34  */
    13 public class PasswordDialog extends ConnectionDependendDialogFragment {
    35 public class PasswordDialog extends ConnectionDependendDialogFragment {
    14 	String username;
    36 	String username;
    15 	
    37 	
    16 	public PasswordDialog() {
    38 	public PasswordDialog() {
    17 	}
    39 	}