6#ifndef LICENCEMANAGER_H
7#define LICENCEMANAGER_H
int qt_licence_index
Index of the Qt Licence.
void SetSoftwareLicence(int LicenceIndex)
Set the Software Licence.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry to the Log \LogEntry Structure holding Log information.
void ReadPrimaryTool(int ToolIndex)
read Primary Tool & Apply any licence Restrictions
void LoadLicences(void)
Load the Licence Data from the Database.
Ui::MainWindow * ui
Pointer to the Main Window.
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, const QString Message)
Add a Log Entry.
void SaveQtLicence(void)
Save the Default Qt Licence to settings.
void UpdateHardwareLicence(QString LicenceName)
Emits the Text Name of the Hardware Lidence.
int primary_tool_index
Index of the Primary Tool.
void UpdateDocumentationLicence(QString LicenceName)
Emits the Text Name of the Documentation Lidence.
void TriggerSendLicence(void)
Trigger to send out the Licence states.
uint GetLicenceIndex(QString LicenceText)
Find the Licence Index from the Licence text.
void SendStatusMessage(QString Type, int Counter)
Send the Type of Licence and the number licences loaded.
void UpdateSoftwareLicence(QString LicenceName)
Emits the Text Name of the Software Lidence.
void SetHardwareLicence(int LicenceIndex)
Set the Hardware Licence.
void WriteLicenceState(void)
Read the Current Lilcence Stae on Display & Send out.
void ProcessSoftwareRestriction(int DocumentationRestriction)
Use the Soft Restrictions to limit the possible licence selections.
void SetDocumentationLicence(int LicenceIndex)
Set the Documentation Licence.
void ProcessDocumentationRestriction(int DocumentationRestriction)
Use the Documenrtation Restrictions to limit the possible licence selections.
void LoadQtLicence(void)
Load the Qt Licence from settings.
void ProcessHardwareRestriction(int HardwareRestriction)
Use the Hardware Restrictions to limit the possible licence selections.
void DoClear(void)
Resest the Licences fro the Database.
LicenceManager(Ui::MainWindow *UI_Window)
LicenceManager Construction routine.
void ReadLicenceState(LICENCE_STATE LicenceState)
process the Licence state including any restrictions
void SendLicenceState(LICENCE_STATE LicenceState)
Send the State of the Licences.
Common Structure Defintitions.
LOGGING_SEVERITY
Log Severity allow the selection of logging events based on Severity.
LOGGING_MODE
Log Severity allow the selection of logging events based on the mode.
Assigned Software, Hardware and COgumenttaion Licences.