9#ifndef PROJECTDOCMANAGER_H
10#define PROJECTDOCMANAGER_H
14#include <ui_mainwindow.h>
185 bool CopyRecursively(
const QString &SourceFilePath,
const QString &TargetFilePath);
202 bool LockProject(
int ProjectIndex,
bool LockState);
bool InitiasliseGitDirectory(QString SrcFilePath)
Initialise the Project's Git Directory.
~ProjectDocManager()
ProjectManager Class Deconstructor.
void ReceiveProjectId(PROJECT_INFORMATION ProjectId)
Receive the Project's Information for processing.
int CreateProjectId(void)
Create the next unused project number.
void GetDoxyHeader(void)
Get Custom Doxygen Header.
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, const QString Message)
Send Message to the Log.
QString GetFile(QString InitialName, GET_FILE_TYPE FileType)
Read a file into a String.
void SendDevelopmentFamily(DEVELOPMENT_FAMILY DevFamily)
Send Development Family Information Structure for Update.
void LoadSubstituteTable()
Load System Substituitions.
void StartProject(void)
Enable the Project User Interface for editing.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry via the Signal-Slot Method.
ProjectDocManager(Ui::MainWindow *UI_Window)
ProjectManager Class Constructor.
void SaveLocalSubstitutes(void)
Send a Trigger to Load.
void SetDonationsWelcome(int State)
Enable/Disable Donation Options.
bool CommitGitDirectory(QString SrcFilePath, QString VersionsString, QString Message)
Commit Project Files to Git.
void ShowMessage(QString Message)
Shows Message in popup window.
void SaveProject(void)
Save a new project to the database.
void SendSubstituteState(bool State)
Send the Substitute Enable State.
void GetDoxyLogo(void)
Get the Doxygen Logo from known image files.
bool CopyRecursively(const QString &SourceFilePath, const QString &TargetFilePath)
Recursively copy files from Source to Destination.
void GetDoxyFooter(void)
Get Custom Doxygen Footer.
PROJECT_INFORMATION project_info
Structure to hold Project Information.
void SendLicenceState(LICENCE_STATE ProjectLicences)
Send out the current Licence States.
int GetLicenceIndex(QString LicenceName)
Get the Licence Database Index from the Licence Name.
bool LockProject(int ProjectIndex, bool LockState)
Lock/Unlock Project in the Database.
void SetDocAccess(int State)
Enable/Disable Document Access Restrictions.
void LoadProjectList()
Load Select Project List from Database.
void UpdateProjectToDatabase(void)
Updates an Existing Project.
void LoadProjectFromDatabase(int Item)
Load Project Information from Database.
void DoEditSave(void)
Abort Editing after Saving.
void SetDoxyOptions(int State)
Enable/Disable Custom Doxy Options.
void SendClear(void)
Send a Project Clear Command.
void SetEditButtons(bool State)
Enable/Disable Edit buttons.
void SendProjectId(PROJECT_INFORMATION *ProjectId)
Send out Project Information for Updates.
bool IsSaveAvailable(void)
Check if Project Save is Enabled.
void LockSubsButtons(bool State)
Lock/unlock the Substitution Buttons.
bool InsertNewProjectInDatabase(void)
Inserts new project into the database.
void ReadActivated(int Item)
Load a Project & Enable editing.
void GetDoxyStylesheet(void)
Get Custom Doxygen Stylesheet.
void EnableUserInterface(bool State)
Enable the Project User Interface.
void SetEditState(int State)
Enable/Disable editing.
Ui::MainWindow * ui
Pointer to the Main Window.
void SendVersion(REMOTE_VERSION_ENTRY VersionInfo)
Send out the Project Version Information.
void DoEditAbort(void)
Abort Editing without Saving.
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.
GET_FILE_TYPE
Type of File to Search for.
Summary of Project Types.
Assigned Software, Hardware and COgumenttaion Licences.
Version Structure used between functions.