2015-11-16 00:38:57 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2017-04-23 23:07:41 +02:00
|
|
|
|
namespace BlubbFish.Utils {
|
|
|
|
|
public abstract class OwnView {
|
|
|
|
|
|
2017-08-08 23:25:33 +02:00
|
|
|
|
protected OwnView() { }
|
2017-03-09 23:32:42 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Called if the Oberver (Model) updates its View
|
|
|
|
|
/// </summary>
|
2017-04-23 23:07:41 +02:00
|
|
|
|
public abstract void Update();
|
2017-03-09 23:32:42 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Called if view is viewed
|
|
|
|
|
/// </summary>
|
2017-08-08 23:25:33 +02:00
|
|
|
|
//protected abstract void Init();
|
2017-03-09 23:32:42 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Called if Form is Disposed
|
|
|
|
|
/// </summary>
|
2017-04-23 23:07:41 +02:00
|
|
|
|
public abstract void Dispose();
|
2017-03-09 23:32:42 +01:00
|
|
|
|
}
|
2015-11-16 00:38:57 +01:00
|
|
|
|
}
|