// basRes.h  -- single source of truth for BASIC project / binary layout
//
// Keys used in .dbp project files and names of resources written into the
// compiled .app DXE.  These were previously scattered as raw string literals
// across the IDE (ideMain.c, ideProject.c) and the standalone compiler
// (bascomp.c), making it easy for one side to drift from the other.
// All readers and writers now include this header.

#ifndef BAS_RES_H
#define BAS_RES_H

// ------------------------------------------------------------
// [Project] section of a .dbp file
// ------------------------------------------------------------

#define BAS_INI_SECTION_PROJECT  "Project"
#define BAS_INI_KEY_NAME         "Name"
#define BAS_INI_KEY_AUTHOR       "Author"
#define BAS_INI_KEY_PUBLISHER    "Publisher"
#define BAS_INI_KEY_VERSION      "Version"
#define BAS_INI_KEY_COPYRIGHT    "Copyright"
#define BAS_INI_KEY_DESCRIPTION  "Description"
#define BAS_INI_KEY_ICON         "Icon"
#define BAS_INI_KEY_HELPFILE     "HelpFile"

// [Settings] / [Modules] / [Forms] sections of a .dbp file
#define BAS_INI_SECTION_SETTINGS "Settings"
#define BAS_INI_KEY_STARTUPFORM  "StartupForm"
#define BAS_INI_SECTION_MODULES  "Modules"
#define BAS_INI_SECTION_FORMS    "Forms"

// ------------------------------------------------------------
// Resource names inside a compiled .app DXE
// ------------------------------------------------------------

// Text metadata -- mirrors the [Project] keys above but lowercase
// (resource names are case-sensitive; apps query these at runtime).
#define BAS_RES_NAME         "name"
#define BAS_RES_AUTHOR       "author"
#define BAS_RES_PUBLISHER    "publisher"
#define BAS_RES_VERSION      "version"
#define BAS_RES_COPYRIGHT    "copyright"
#define BAS_RES_DESCRIPTION  "description"
#define BAS_RES_HELPFILE     "helpfile"

// Icon -- 32x32 application icon
#define BAS_RES_ICON32       "icon32"

// Binary payload -- bytecode + debug info
#define BAS_RES_MODULE       "MODULE"
#define BAS_RES_DEBUG        "DEBUG"

// Stub DXE embedded in the IDE app for release builds
#define BAS_RES_STUB         "STUB"

#endif // BAS_RES_H
