UltraScan III
Macros | Functions
us.cpp File Reference
#include <QtSingleApplication>
#include "us.h"
#include "us_license_t.h"
#include "us_license.h"
#include "us_settings.h"
#include "us_gui_settings.h"
#include "us_win_data.cpp"
#include "us_defines.h"
#include "us_revision.h"
#include "us_sleep.h"
#include "us_images.h"
#include "us_passwd.h"
#include "us_db2.h"
Include dependency graph for us.cpp:

Go to the source code of this file.

Macros

#define PCSA_MENU
 

Functions

int main (int argc, char *argv[])
 Main program for UltraScan. More...
 

Macro Definition Documentation

#define PCSA_MENU

Definition at line 21 of file us.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main program for UltraScan.

This program is instantiated using QtSingleApplication. This class prevents more than one instance of the program being run.

The environment variable, ULTRASCAN_OPTIONS, can be used to allow multiple instances if it contains the string "multiple".

The main program also sets up internationalization and checks for a license. If a valid license is not found, it launches the US_License window.

Definition at line 38 of file us.cpp.