2013-06-25 15:27:41 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using keepass2android;
|
|
|
|
|
|
|
|
|
|
namespace Kp2aUnitTests
|
|
|
|
|
{
|
|
|
|
|
class ProgressDialogStub : IProgressDialog
|
|
|
|
|
{
|
|
|
|
|
public void SetTitle(string title)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2013-07-09 03:59:17 -04:00
|
|
|
|
public void SetMessage(string resourceString)
|
2013-06-25 15:27:41 -04:00
|
|
|
|
{
|
2013-07-09 03:59:17 -04:00
|
|
|
|
Kp2aLog.Log("Progress message: " + resourceString);
|
2013-06-25 15:27:41 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Dismiss()
|
|
|
|
|
{
|
|
|
|
|
Dismissed = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Show()
|
|
|
|
|
{
|
|
|
|
|
Showed = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected bool Showed { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool Dismissed { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|