#pragma once
//==================================================================================================
#include "Helpers.h"
//==================================================================================================
#define PLUGIN_BUILD 100
#define PLUGIN_VERSION \
   MAKEFARVERSION( FARMANAGERVERSION_MAJOR, FARMANAGERVERSION_MINOR, FARMANAGERVERSION_REVISION, \
                   PLUGIN_BUILD, VS_RC )
//==================================================================================================

#define _VER_MAJOR_NO_     2020
#define _VER_MINOR_NO_     12
#define _VER_BUILD_NO_     04
#define _VER_REVISION_NO_  0

#define _PRODUCT_NAME_ \
   L"Far-plugin for automatic switching to OEM-CP/UTF-8 in editor for .CMD/.BAT"
#define _COMMENTS_ \
   L"This plugin is intended for automatic switching to OEM-CP/UTF-8 when opening command file " \
   L"in Far-Manager editor, for the following extensions: " \
   L"I. => OEM-CP: .cmd/.bat; .cmd.bak/.bat.bak; .CmdIn.txt/.CmdOut.txt; .CmdOut.tmp/.CmdTempOut.txt. | " \
   L"II. => UTF-8: @*.cmd/#*.cmd; @*.cmd.bak/#*.cmd.bak"
#define _COMPANY_          L"Sergei Y.Kitáev"
#define _LEGAL_COPYRIGHT_  L"® Sergei Y.Kitáev, 2016"
//#define _LEGAL_TRADEMARKS_ L""
#define _MODULE_FILE_NAME_ PLUGIN_DLL_NAME

//==================================================================================================

#define _VERSION_STRING_ \
   $STRINGIZE(_VER_MAJOR_NO_) L"." $STRINGIZE(_VER_MINOR_NO_) L"." \
   $STRINGIZE(_VER_BUILD_NO_) L"." $STRINGIZE(_VER_REVISION_NO_) \
   L" (Plugin build: " $STRINGIZE(PLUGIN_BUILD) L")"

#ifdef _WIN64
   #if _DEBUG
      #define _FILE_DESCRIPTION_ _MODULE_FILE_NAME_ L" (Debug; x64)"
   #else
      #define _FILE_DESCRIPTION_ _MODULE_FILE_NAME_ L" (x64)"
   #endif
#else
   #if _DEBUG
      #define _FILE_DESCRIPTION_ _MODULE_FILE_NAME_ L" (Debug; x86)"
   #else
      #define _FILE_DESCRIPTION_ _MODULE_FILE_NAME_ L" (x86)"
   #endif
#endif

//==================================================================================================
