using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace SketchAssistant
{
public interface MVP_View
{
///
/// Enables the timer of the View, which will tick the Presenter.
///
void EnableTimer();
///
/// A function that opens a file dialog and returns the filename.
///
/// The filter that should be applied to the new Dialog.
/// Returns the FileName and the SafeFileName if the user correctly selects a file,
/// else returns a tuple with empty strigns
Tuple openNewDialog(String Filter);
///
/// Sets the contents of the load status indicator label.
///
/// The new contents
void SetToolStripLoadStatus(String message);
///
/// Sets the contents of the last action taken indicator label.
///
/// The new contents
void SetLastActionTakenText(String message);
///
/// Changes the states of a tool strip button.
///
/// The name of the button.
/// The new state of the button.
void SetToolStripButtonStatus(String buttonName, Form1.ButtonState state);
///
/// Displays an image in the left Picture box.
///
/// The new image.
void DisplayInLeftPictureBox(Image img);
///
/// Displays an image in the right Picture box.
///
/// The new image.
void DisplayInRightPictureBox(Image img);
///
/// shows the given info message in a popup and asks the user to aknowledge it
///
/// the message to show
void ShowInfoMessage(String message);
///
/// Shows a warning box with the given message (Yes/No Buttons)and returns true if the user aknowledges it.
///
/// The message of the warning.
/// True if the user confirms (Yes), negative if he doesn't (No)
bool ShowWarning(String message);
}
}