9#ifndef PROGRAMVERSION_H
10#define PROGRAMVERSION_H
14#include <ui_mainwindow.h>
124 QString
FormatVersion(
int MajorVersion,
int MinorVersion,
int Revision);
void SetOverrideEnable(bool Enable)
Enable/Disable the Override.
void SetMajorVersion(quint16 Value)
Sets the Project's Major Version to Value.
void SendMajorVersion(int MajorVersion)
Send the Major Version.
void PresetRevision(quint16 Value)
Preset the Revision to a Value.
void SendRevision(int Revision)
Send the Revision.
void DoClear(void)
Reset the Version Information.
REMOTE_VERSION_ENTRY WriteVersion(uint ProjectId)
Read the Version Information into Structure.
QString FormatVersion(int MajorVersion, int MinorVersion, int Revision)
Format the numeric version (major, minor, revision) as text.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry to the Log \LogEntry Structure holding Log information.
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
void SendVersionInfo(REMOTE_VERSION_ENTRY VersionEntry)
Send the Version information by the Signal-Slot Method.
void SetMinorVersion(quint16 Value)
Sets the Project's Minor Version to Value.
void ReadProjectInfo(PROJECT_INFORMATION *ProjectId)
Read The Project Information.
ProgramVersion(Ui::MainWindow *UI_Window)
Program Version Class Constructor.
void SaveVersion(void)
Save the Project's Version.
QString ReadFullHistory(int ProjectIndex)
Read the entire history of the Project as a string.
QString timestamp_format_string
DateTime Format String.
void UpdateRevision(int Revision)
Set the Revision to the Value Supplied.
void SendMinorVersion(int MinorVersion)
Send the Minor Version.
void SendProjectDateTime(QString ProjectDateTime)
Send the Current DateTime as the Version DateTime.
uint project_index
Project Index Number.
void LogProgramVersion(REMOTE_VERSION_ENTRY VersionInstance)
Convert the Program Version to Log Message and Send It.
void PresetMinorVersion(quint16 Value)
Preset the Minor Version to a Value.
void SetRevision(quint16 Value)
Sets the Project's Revision to Value.
void SetVersionDate(void)
Set the Version Date.
void UpdateMajorVersion(int MajorVersion)
Set the Major Version to the Value Supplied.
void UpdateMinorVersion(int MinorVersion)
Set the Minor Version to the Value Supplied.
VERSION_INFO version_info
Structure holding Version Information.
void ReadVersionText(uint ProjectIndex, VERSION_INFO Version)
Read the Version Text for the Project's Version.
void SetStepOverride(int State)
Set the Status of Version Step Override.
void PresetMajorVersion(quint16 Value)
Preset the Major Version to a Value.
void ReadProjectDateTime(QDateTime ProjectDateTime)
Read the Project DateTime.
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.
Version Structure used between functions.
Information about the Project's Version.