/*
    Version a.b.c.d
    ===============

    a: Major version number
    -----------------------
    Increment this number to reflect a key change in the product
    (e.g. addition of a new product, new OS, etc.)

    b: Minor version number
    -----------------------
    Increment this number to reflect a minor change in the product
    (e.g. addition of a new set of features, bugfixes, etc.) If you
    increment the major version number, reset this number to 0.

    c: Build version number
    -----------------------
    Increment this number every time you build a release. This number
    has to increase continiously and regardless of the major/minor
    version number changes.

    d: Bugfix/Hotfix number
    -----------------------
    Increment this number to identify bugfix versions built from branched
    SourceSafe projects. If you increment the build version number, reset
    this number to 0.

    Build date mm/dd/yyyy
    ---------------------
    Used e.g. in inf files and whereever a date need to be presented.

    mm: 2 digit month  (e.g. 06 for June)
    dd: 2 digit day    (e.g. 12)
    yyyy: 4 digit year (e.g. 1970)
*/

// Build control for adapter/device/OEM specific versions
#include "buildctrl.h"

// Major version number
#define DGVER_MAJOR_VERSION     5

// Minor version number
#define DGVER_MINOR_VERSION     0

// Build version number
#define DGVER_BUILD_NUMBER      306

// Bugfix/Hotfix number
#define DGVER_BUGFIX_NUMBER     0

// Build date
#define DGVER_BUILD_DATE        05/31/2002

// Version strings
#define _QUOTE(s)   #s
#define QUOTE(s)	_QUOTE(s)

#define DGVER_VERSION_BINARY    DGVER_MAJOR_VERSION,DGVER_MINOR_VERSION,DGVER_BUILD_NUMBER,DGVER_BUGFIX_NUMBER
#define DGVER_VERSION_STRING    QUOTE(DGVER_MAJOR_VERSION) "." QUOTE(DGVER_MINOR_VERSION) "." QUOTE(DGVER_BUILD_NUMBER) "." QUOTE(DGVER_BUGFIX_NUMBER)
#define DGVER_VERSION_INF       DGVER_MAJOR_VERSION.DGVER_MINOR_VERSION.DGVER_BUILD_NUMBER.DGVER_BUGFIX_NUMBER

// Use these for plain text files (Readme, INF file, ...)
#define DGVER_COMPANY_NAME_INF          Digi International Inc.
#define DGVER_COMPANY_NAME_SHORT_INF    Digi International
#define DGVER_COMPANY_NAME_NICK_INF     Digi
#define DGVER_COPYRIGHT_INF             Copyright 1996-2002 Digi International Inc.
#define DGVER_PRODUCT_NAME_INF          Digi DataFire SYNC Adapter

#define DGVER_COMPANY_NAME          QUOTE(DGVER_COMPANY_NAME_INF)
#define DGVER_COMPANY_NAME_SHORT    QUOTE(DGVER_COMPANY_NAME_SHORT_INF)
#define DGVER_COMPANY_NAME_NICK     QUOTE(DGVER_COMPANY_NAME_NICK_INF)
#define DGVER_COPYRIGHT             QUOTE(DGVER_COPYRIGHT_INF)
#define DGVER_PRODUCT_NAME          QUOTE(DGVER_PRODUCT_NAME_INF)

// Use these in user mode applications (installation, configuration, ...)
#define DGVER_COMPANY_NAME_TEXT         TEXT("Digi International Inc.")
#define DGVER_COMPANY_NAME_SHORT_TEXT   TEXT("Digi International")
#define DGVER_COMPANY_NAME_NICK_TEXT    TEXT("Digi")
#define DGVER_COPYRIGHT_TEXT            TEXT("Copyright 1996-2002 Digi International Inc.")
#define DGVER_PRODUCT_NAME_TEXT         TEXT("Digi DataFire SYNC Adapter")

// The CoInstaller needs to be renamed for each release with CoInstaller changes.
// NOTE: If you increase the CoInstaller name be sure to change the projects
// exports file as well.
#if defined NT5
    #define DXBVER_COINSTALLER_TEXT              TEXT("dgdsinf.dll")
    #define DXBVER_COINSTALLER_NAME              dgdsinf.dll
    #define DXBVER_COINSTALLER_NAME_ENTRY        "dgdsinf.dll,DigiDxbCoInstaller","cocpyinf.dll,CoCopyINF"
    #define DXBVER_CLIENT_COINSTALLER_NAME_ENTRY "dgdsinf.dll,DigiDxbClientCoInstaller","cocpyinf.dll,CoCopyINF"
#endif // #if defined NT5
