diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-12 15:47:10 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-12 15:47:10 +0300 |
| commit | 8a59643571080bfff715f0b0e4bb03e2dee4961a (patch) | |
| tree | 4a5301065eaa0d62dfc74cf2aa29c525d359dbca /Software/Visual_Studio/PPC/Tango.PPC.Common/IPPCModule.cs | |
| parent | aa42a768788aa4c90600b45d29f6ad8d78d9334d (diff) | |
| download | Tango-8a59643571080bfff715f0b0e4bb03e2dee4961a.tar.gz Tango-8a59643571080bfff715f0b0e4bb03e2dee4961a.zip | |
Starting splitting PPC to modules.
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; } + } +} |
