Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLPT_GetBasePath and GLPT_GetPrefPath needed? #5

Open
daar opened this issue Feb 24, 2019 · 0 comments
Open

GLPT_GetBasePath and GLPT_GetPrefPath needed? #5

daar opened this issue Feb 24, 2019 · 0 comments
Labels
invalid This doesn't seem right

Comments

@daar
Copy link
Owner

daar commented Feb 24, 2019

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;

@daar daar changed the title GLPT_GetBasePath needed? GLPT_GetBasePath and GLPT_GetPrefPath needed? Feb 24, 2019
@daar daar added question Further information is requested invalid This doesn't seem right and removed question Further information is requested labels Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant