#pragma once
#ifndef VERSIONNO_H
#define VERSIONNO_H

#define VERSION_MAJ 2
#define VERSION_MIN 3
#define VERSION_NUM 2602
#define REVISION_NUM 1112

// Macros utils
#define RES_STRINGIZE1(a) #a
#define RES_STRINGIZE(a) RES_STRINGIZE1(a)

#define VERSION_MAJ_STR RES_STRINGIZE(VERSION_MAJ)
#define VERSION_MIN_STR RES_STRINGIZE(VERSION_MIN)
#define VERSION_NUM_STR RES_STRINGIZE(VERSION_NUM)
#define REVISION_NUM_STR RES_STRINGIZE(REVISION_NUM)

#if defined(_ARM64_)
#define FILE_POSTFIX "_arm64"
#elif defined(_ARM_)
#define FILE_POSTFIX "_arm"
#else
#if defined(_WIN64)
#define FILE_POSTFIX "_x64"
#else
#define FILE_POSTFIX ""
#endif
#endif

#if defined TARGET_BKDE
#define APPNAME "BKDE"
#define FILE_PRODUCT_STR "BK Disk Explorer"
#elif defined TARGET_BKDL
#define APPNAME "BKDL"
#define FILE_PRODUCT_STR "BK Disk Structure Listener"
#else
#define APPNAME "Unknown"
#define FILE_PRODUCT_STR "No data"
#endif
#define FILE_COMPANY_STR "gid"
#define FILE_DESCRIPTION_STR "Работа с образами дискет БК."
#define FILE_COPYRIGHT_STR "Копировать правильно 2012-2025 (с) gid."

#endif // VERSIONNO_H
