/*
 * def.h
 *
 *  Created on: 25.11.2009
 *      Author: stefan.detter
 */

#ifndef DEF_H_
#define DEF_H_

#include "../version.h"
#include <appDefines.h>
#include <QrfeReaderInterfaceGlobal>

extern uchar g_ReaderSuite_Major;
extern uchar g_ReaderSuite_Minor;
extern uchar g_ReaderSuite_Version;
extern bool  g_ReaderSuite_Beta;
extern QString g_ReaderSuite_VersionString;

typedef enum {
	JOB_ShowHideTraceWindow,
	JOB_WaitForSpeciifedTime,
	JOB_WaitForSpeciifedTimeWithDialog,
	JOB_AddReader,
	JOB_CheckReaderForUpdates,
	JOB_SwitchReaderToBootloader,
	JOB_SwitchReaderToBootloaderAndShowDialog,
	JOB_SwitchReaderToFirmware,
	JOB_SwitchReaderSystemWithoutCommand,
	JOB_SwitchReaderSystemWithoutCommandAndShowSettings,
	JOB_StartScan,
	JOB_StopScan,
	JOB_ShowApplicationSettings,
	JOB_ShowSettingsOfTreeItem,
	JOB_ShowSettingsOfReader,
	JOB_ShowAppSettingsOfReader,
	JOB_ShowPipeForReader,
	JOB_ShowEngineeringForReader,
	JOB_ShowSettingsOfTag,
	JOB_ShowEngineeringForTag,
	JOB_ShowNxpG2iLToiPhoneBridge,
	JOB_StartTool
} JobType;

#define RESTART_APPLICATION_CODE		0x78EA


#define EXPORT_LAST_USED_FILEPATH		"Export - Last Used File Path"
#define RECORD_LAST_USED_FILEPATH		"Record - Last Used File Path"


#ifndef ENGINEERING_MODE_ALLOWED
#define ENGINEERING_MODE_ALLOWED		0
#endif


#define EXEC_COUNT_ENGINEERING_READER_FREQUENCY_SWEEP					5
#define EXEC_COUNT_ENGINEERING_READER_REFLECTED_POWER					5
#define EXEC_COUNT_ENGINEERING_READER_NETWORK_ANALYZER					5
#define EXEC_COUNT_ENGINEERING_TAG_MINIMUM_POWER						5
#define EXEC_COUNT_ENGINEERING_TAG_POWER_VS_READ_COUNT					5



#endif /* DEF_H_ */
