Project

General

Profile

« Previous | Next » 

Revision 9c39179e

Added by Leszek Koltunski over 2 years ago

Downloading updates: dialog progress.

View differences:

src/main/java/org/distorted/network/RubikUpdates.java
164 164

  
165 165
///////////////////////////////////////////////////////////////////////////////////////////////////
166 166

  
167
  public int getNumberOfUpdates()
167
  public UpdateInfo getNewUpdate(int ordinal)
168 168
    {
169
    return mNew.size()+mUpd.size();
169
    return mNew.get(ordinal);
170
    }
171

  
172
///////////////////////////////////////////////////////////////////////////////////////////////////
173

  
174
  public UpdateInfo getUpdUpdate(int ordinal)
175
    {
176
    return mUpd.get(ordinal);
177
    }
178

  
179
///////////////////////////////////////////////////////////////////////////////////////////////////
180

  
181
  public int getNewNumber()
182
    {
183
    return mNew.size();
184
    }
185

  
186
///////////////////////////////////////////////////////////////////////////////////////////////////
187

  
188
  public int getUpdNumber()
189
    {
190
    return mUpd.size();
170 191
    }
171 192

  
172 193
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff