repo: move some member declarations up
This commit is contained in:
parent
4920d4a61d
commit
e13b4d8501
|
@ -40,17 +40,16 @@ namespace SparkleLib {
|
||||||
private Timer remote_timer;
|
private Timer remote_timer;
|
||||||
private Timer local_timer;
|
private Timer local_timer;
|
||||||
private FileSystemWatcher watcher;
|
private FileSystemWatcher watcher;
|
||||||
private System.Object change_lock;
|
|
||||||
private SparkleListenerBase listener;
|
private SparkleListenerBase listener;
|
||||||
private List <double> sizebuffer;
|
private List <double> sizebuffer;
|
||||||
private bool has_changed;
|
private bool has_changed = false;
|
||||||
private SyncStatus status;
|
private Object change_lock = new Object ();
|
||||||
|
|
||||||
|
|
||||||
|
protected SyncStatus status;
|
||||||
protected string revision;
|
protected string revision;
|
||||||
protected bool is_buffering;
|
protected bool is_buffering = false;
|
||||||
protected bool is_polling;
|
protected bool is_polling = true;
|
||||||
protected bool server_online;
|
protected bool server_online = true;
|
||||||
|
|
||||||
public readonly SparkleBackend Backend;
|
public readonly SparkleBackend Backend;
|
||||||
|
|
||||||
|
@ -157,12 +156,6 @@ namespace SparkleLib {
|
||||||
Name = Path.GetFileName (LocalPath);
|
Name = Path.GetFileName (LocalPath);
|
||||||
Backend = backend;
|
Backend = backend;
|
||||||
|
|
||||||
this.is_buffering = false;
|
|
||||||
this.is_polling = true;
|
|
||||||
this.server_online = true;
|
|
||||||
this.has_changed = false;
|
|
||||||
this.change_lock = new Object ();
|
|
||||||
|
|
||||||
SyncStatusChanged += delegate (SyncStatus status) {
|
SyncStatusChanged += delegate (SyncStatus status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue