-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathIViewUpdater.cs
35 lines (31 loc) · 961 Bytes
/
IViewUpdater.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OCDataImporter
{
/// <summary>
/// Defines the methods a class must implement to update external view components from
/// the model or controller.
/// </summary>
interface IViewUpdater
{
/// <summary>
/// Must indicate the step size to a progress bar
/// </summary>
/// <param name="step"></param>
void updateProgressbarStep(int step);
/// <summary>
/// Must perform a progressbar step
/// </summary>
void performProgressbarStep();
/// <summary>
/// Must append a messasge to a text output box. E.g. with information on the conversion
/// </summary>
void appendText(String aMessage);
/// <summary>
/// Must reset the messasge in a text output box
/// </summary>
void resetText();
}
}