using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ShiftOS.Engine;
namespace ShiftOS.WinForms
{
///
/// Provides base functionality for a ShiftOS desktop widget.
///
public interface IDesktopWidget
{
///
/// Performs routine setup operations to keep the widget up to date.
///
void Setup();
///
/// Occurs when a skin is loaded.
///
void OnSkinLoad();
///
/// Occurs when a Shiftorium upgrade is installed.
///
void OnUpgrade();
///
/// Hides this desktop widget.
///
void Hide();
///
/// Shows this desktop widget.
///
void Show();
///
/// Gets or sets the location on the desktop that this widget resides.
///
Point Location { get; set; }
///
/// Gets or sets this widget's size.
///
Size Size { get; set; }
}
}