[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Callback to get a customized application name.
Source position: osutilsh.inc line 60
var OnGetApplicationName: TGetAppNameEvent; |
By default, the configuration file routines GetAppConfigDir and GetAppConfigFile use a default application name to construct a directory or filename. This callback can be used to provide an alternative application name.
Since the result of this callback will be used to construct a filename, care should be taken that the returned name does not contain directory separator characters or characters that cannot appear in a filename.
|
Callback type to get customized application name. |
|
|
Return a default application name |
|
|
Return the appropriate directory for the application's configuration files. |
|
|
Return an appropriate name for an application configuration file. |
lazarus-ccr.sourceforge.net |