Checks if application is of specified type.
Unit
Syntax
ParametersAAppType Type of application to test. Usually this is one of ETypes.atXXX constants - like atVCL, atConsole and so on.
Return valueTrue if some code (plugin) has marked application as being of AAppType type. False - otherwise.
Remarks
Application may have more than one type in some cases. For example, it can be both console and CGI.
Application type is generic qualifier that affects EurekaLog behaviour. For example, VCL application intercepts Application.ShowException and uses window error dialog.
Code can call this routine to check if certain support plugin was installed. For example, EAppVCL calls this as SetAppType(atVCL) - indicating that application is VCL application.
Plugins can use SetAppType procedure to indicate that they are installed.
There are also simple wrappers for more easy access. For example, IsVCL, IsConsole and so on. See EAppType unit for more info.
See also
|