Skip to content

GLPT_GetBasePath and GLPT_GetPrefPath needed? #5

@daar

Description

@daar

These functions have FPC equivalents ParamStr(0) and GetAppConfigDir and GetAppConfigFile. The functions were added in revision 195b42f.

{
  Use this function to get the directory where the application was run from. 
  This is where the application data directory is.
  @return path of directory
}
function GLPT_GetBasePath: string;

{
  Use this function to get the "pref dir". This is meant to be where the application 
  can write personal files (Preferences and save games, etc.) that are specific to the application. 
  This directory is unique per user and per application.
  @param org: name of organization
  @param app: name of application
  @return path of directory
}
function GLPT_GetPrefPath (org: string; app: string): string;

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions