remove class and interface no longer used

This commit is contained in:
Andy2 2011-02-27 22:45:51 -08:00
parent fe9932b57d
commit c31e964ce4
2 changed files with 0 additions and 65 deletions

View file

@ -50,7 +50,6 @@ import org.eehouse.android.xw4.jni.*;
public class GamesList extends XWListActivity
implements DispatchNotify.HandleRelaysIface,
RefreshMsgsTask.RefreshMsgsIface,
DBUtils.DBChangeListener {
private static final int WARN_NODICT = DlgDelegate.DIALOG_LAST + 1;
@ -248,12 +247,6 @@ public class GamesList extends XWListActivity
} );
}
// RefreshMsgsTask.RefreshMsgsIface interface
public void RefreshMsgsResults( String[] relayIDs )
{
HandleRelaysIDs( relayIDs );
}
// DBUtils.DBChangeListener interface
public void pathSaved( final String path )
{

View file

@ -1,58 +0,0 @@
/* -*- compile-command: "cd ../../../../../; ant install"; -*- */
/*
* Copyright 2009-2010 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.os.AsyncTask;
import android.content.Context;
import android.app.ProgressDialog;
public class RefreshMsgsTask extends AsyncTask<Void, Void, String[]> {
public interface RefreshMsgsIface {
public void RefreshMsgsResults( String[] relayIDs );
};
private Context m_context;
private ProgressDialog m_progress;
private RefreshMsgsIface m_iface;
public RefreshMsgsTask( Context context, RefreshMsgsIface iface )
{
m_context = context;
m_iface = iface;
String msg = context.getString( R.string.msgs_progress );
m_progress = ProgressDialog.show( context, msg, null, true,
true );
}
protected String[] doInBackground( Void...unused )
{
return NetUtils.QueryRelay( m_context );
}
protected void onPostExecute( String[] result )
{
m_progress.cancel();
m_iface.RefreshMsgsResults( result );
}
}