USB EPROM/Flash Programmer
Functions
main.hpp File Reference

Header of the Main Routine. More...

#include "config.hpp"
Include dependency graph for main.hpp:

Functions

TApplicationSettings loadSettings ()
 Loads application settings. More...
 
void initLogging (int level)
 Initializes the logging feature. More...
 
void loadLanguage (const QString &language, QApplication *app)
 Loads the language strings. More...
 

Detailed Description

Header of the Main Routine.

Author
Robson Martins (https://www.robsonmartins.com)

Function Documentation

◆ loadSettings()

TApplicationSettings loadSettings ( )

Loads application settings.

Returns
Application settings.

◆ initLogging()

void initLogging ( int  level)

Initializes the logging feature.

Parameters
levelThe log level (<= 0 is disabled, 1 is FATAL, 2 is CRITICAL, etc).

◆ loadLanguage()

void loadLanguage ( const QString &  language,
QApplication *  app 
)

Loads the language strings.

Parameters
languageThe language (en_US, or another).
appPointer to the QApplication instance.