remove code for engine progress -- it's been disabled for a while

anyway as it gave away whether robot had blanks.
This commit is contained in:
Eric House 2011-07-31 20:52:27 -07:00
parent f642a0972f
commit 1c227c8921
4 changed files with 0 additions and 46 deletions

View file

@ -16,7 +16,6 @@ local_DEFINES += \
-DXWFEATURE_RELAY \
-DXWFEATURE_TURNCHANGENOTIFY \
-DXWFEATURE_CHAT \
-DSHOW_PROGRESS \
-DKEY_SUPPORT \
-DXWFEATURE_CROSSHAIRS \
-DPOINTER_SUPPORT \

View file

@ -108,8 +108,6 @@ public class BoardActivity extends XWActivity
private JNIThread.GameStateInfo m_gsi;
private boolean m_blockingDlgPosted = false;
private ProgressDialog m_progress;
private boolean m_isVisible;
private String m_room;
private int m_missing;
private boolean m_haveInvited = false;
@ -893,37 +891,6 @@ public class BoardActivity extends XWActivity
return ! m_jniThread.busy();
}
public void engineStarting( int nBlanks )
{
if ( nBlanks > 0 ) {
post( new Runnable() {
// Need to keep this from running after activity dies!!
public void run() {
if ( m_isVisible ) {
String title =
getString( R.string.progress_title );
m_progress =
ProgressDialog.show( BoardActivity.this,
title, null, true,
true );
}
}
} );
}
}
public void engineStopping()
{
post( new Runnable() {
public void run() {
if ( null != m_progress ) {
m_progress.cancel();
m_progress = null;
}
}
} );
}
public boolean userQuery( int id, String query )
{
boolean result;

View file

@ -34,8 +34,6 @@ public interface UtilCtxt {
void turnChanged();
boolean engineProgressCallback();
void engineStarting( int nBlanks );
void engineStopping();
// Values for why; should be enums
public static final int TIMER_PENDOWN = 1;

View file

@ -63,16 +63,6 @@ public class UtilCtxtImpl implements UtilCtxt {
return true;
}
public void engineStarting( int nBlanks )
{
subclassOverride( "engineStarting" );
}
public void engineStopping()
{
subclassOverride( "engineStopping" );
}
public void setTimer( int why, int when, int handle )
{
subclassOverride( "setTimer" );