using System;
using Quik.Media;
namespace Quik.PAL
{
///
/// The primary primary platform abstraction interface for Quik hosts.
///
public interface IQuikPlatform : IDisposable
{
///
/// The title of the application.
///
string Title { get; set; }
///
/// The default icon for the application.
///
QImage Icon { get; set; }
///
/// The event raised when an event is received.
///
event EventHandler EventRaised;
///
/// Create a window.
///
/// The window instance.
IQuikPort CreatePort();
///
/// Raise the events that have been enqueued.
///
/// True to block until a new event arrives.
void ProcessEvents(bool block);
}
}