mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
cleanup: remove unnecessary file.
This commit is contained in:
parent
0bc6387714
commit
ab26e263ef
5 changed files with 3 additions and 46 deletions
|
@ -260,12 +260,6 @@ public class FragActivity extends FragmentActivity
|
|||
return s_this;
|
||||
}
|
||||
|
||||
public static void launchGame( long rowid, boolean invited )
|
||||
{
|
||||
Bundle args = GameUtils.makeLaunchExtras( rowid, invited );
|
||||
addFragment( new BoardFrag(), args );
|
||||
}
|
||||
|
||||
public static void addFragment( Fragment fragment, Bundle bundle )
|
||||
{
|
||||
addFragment( fragment, bundle, null );
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.eehouse.android.xw4.jni.CurGameInfo;
|
|||
|
||||
import junit.framework.Assert;
|
||||
|
||||
public class GamesListActivity extends XWActivity implements GamesListDelegator {
|
||||
public class GamesListActivity extends XWActivity {
|
||||
private GamesListDelegate m_dlgt;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -592,7 +592,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
private Intent m_rematchIntent;
|
||||
private Object[] m_newGameParams;
|
||||
|
||||
public GamesListDelegate( GamesListDelegator delegator, Bundle sis )
|
||||
public GamesListDelegate( Delegator delegator, Bundle sis )
|
||||
{
|
||||
super( delegator, sis, R.layout.game_list, R.menu.games_list_menu );
|
||||
m_activity = delegator.getActivity();
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
/* -*- compile-command: "find-and-ant.sh debug install"; -*- */
|
||||
/*
|
||||
* Copyright 2014 by Eric House (xwords@eehouse.org). All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
package org.eehouse.android.xw4;
|
||||
|
||||
// import android.widget.ListAdapter;
|
||||
// import android.widget.ListView;
|
||||
|
||||
public interface GamesListDelegator extends Delegator {
|
||||
void launchGame( long rowID, boolean invited );
|
||||
}
|
|
@ -40,7 +40,7 @@ import junit.framework.Assert;
|
|||
import org.eehouse.android.xw4.jni.CommonPrefs;
|
||||
import org.eehouse.android.xw4.loc.LocUtils;
|
||||
|
||||
public class GamesListFrag extends XWFragment implements GamesListDelegator {
|
||||
public class GamesListFrag extends XWFragment {
|
||||
|
||||
private GamesListDelegate m_dlgt;
|
||||
|
||||
|
@ -63,14 +63,4 @@ public class GamesListFrag extends XWFragment implements GamesListDelegator {
|
|||
super.onActivityCreated( savedInstanceState );
|
||||
setHasOptionsMenu( true );
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// ListDelegator interface
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
public void launchGame( long rowid, boolean invited )
|
||||
{
|
||||
DbgUtils.logf( "GamesListFrag.launchGame(%d)", rowid );
|
||||
FragActivity.launchGame( rowid, invited );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue