aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy@twine-s.com>2020-12-30 15:11:34 +0000
committerRoy Ben Shabat <Roy@twine-s.com>2020-12-30 15:11:34 +0000
commitd33c19b3ac6803de4b5c8d475832efef131c1a45 (patch)
treeea725abc39def99a755b041c13cba1fe0d594ddc /Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
parent1bdcaa9f51303bbff682507f31fb3b4414692ca4 (diff)
downloadTango-d33c19b3ac6803de4b5c8d475832efef131c1a45.tar.gz
Tango-d33c19b3ac6803de4b5c8d475832efef131c1a45.zip
Revert "Hope it is fine"
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
index 7c67ac1a3..a9d4e7c3a 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
@@ -46,6 +46,11 @@ namespace Tango.PPC.Common.Application
event EventHandler SystemRestartRequired;
/// <summary>
+ /// Occurs when the updater utility has failed to perform the last update.
+ /// </summary>
+ event EventHandler UpdaterFailed;
+
+ /// <summary>
/// Occurs when the application has encountered an error when initializing.
/// </summary>
event EventHandler<Exception> ApplicationInitializationError;
@@ -61,6 +66,16 @@ namespace Tango.PPC.Common.Application
bool IsInTechnicianMode { get; }
/// <summary>
+ /// Gets a value indicating whether an update has occurred before the application started.
+ /// </summary>
+ bool IsAfterUpdate { get; }
+
+ /// <summary>
+ /// Gets a value indicating whether the updater utility has failed to perform the last update.
+ /// </summary>
+ bool IsUpdateFailed { get; }
+
+ /// <summary>
/// Shutdown the application.
/// </summary>
void ShutDown();
@@ -91,6 +106,11 @@ namespace Tango.PPC.Common.Application
Version Version { get; }
/// <summary>
+ /// Gets the firmware version.
+ /// </summary>
+ Version FirmwareVersion { get; }
+
+ /// <summary>
/// Gets the application build date.
/// </summary>
String BuildDate { get; }
@@ -101,6 +121,11 @@ namespace Tango.PPC.Common.Application
DateTime StartUpDate { get; }
/// <summary>
+ /// Gets or sets the application folder.
+ /// </summary>
+ String StartPath { get; }
+
+ /// <summary>
/// Gets or sets a value indicating whether the screen is currently locked.
/// </summary>
bool IsScreenLocked { get; set; }
@@ -114,5 +139,11 @@ namespace Tango.PPC.Common.Application
/// Invokes a dialog for entering a password and releasing the screen lock.
/// </summary>
void ReleaseScreenLock();
+
+ /// <summary>
+ /// Sets the state of the main window.
+ /// </summary>
+ /// <param name="state">The state.</param>
+ void SetWindowState(WindowState state);
}
}