diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/IPPCModule.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/IPPCModule.cs | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/IPPCModule.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/IPPCModule.cs new file mode 100644 index 000000000..6c9bf3892 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/IPPCModule.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Media.Imaging; +using Tango.BL.Entities; +using Tango.BL.Enumerations; + +namespace Tango.PPC.Common +{ + /// <summary> + /// Represents a Machine Studio module. + /// </summary> + /// <seealso cref="System.IDisposable" /> + public interface IPPCModule : IDisposable + { + /// <summary> + /// Gets the module name. + /// </summary> + String Name { get; } + + /// <summary> + /// Gets the module description. + /// </summary> + String Description { get; } + + /// <summary> + /// Gets the module cover image. + /// </summary> + BitmapSource Image { get; } + + /// <summary> + /// Gets the module entry point view type. + /// </summary> + Type MainViewType { get; } + + /// <summary> + /// Gets or sets a value indicating whether this module is shown under a new window. + /// </summary> + bool InNewWindow { get; set; } + + /// <summary> + /// Gets the permission required to see and load this module. + /// </summary> + Permissions Permission { get; } + + /// <summary> + /// Gets a value indicating whether this module has been initialized. + /// </summary> + bool IsInitialized { get; } + + /// <summary> + /// Perform any operations required to initialize this module. + /// </summary> + void Initialize(); + + /// <summary> + /// Sets a value indicating whether this module is loaded. + /// </summary> + bool IsLoaded { set; get; } + } +} |
