diff options
| author | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-09-20 12:42:25 +0000 |
|---|---|---|
| committer | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-09-20 12:42:25 +0000 |
| commit | a9cdacfdfcc1010735dc49aae6251961b108ce76 (patch) | |
| tree | 5793748e0febb406a32b49f897b8bcf016a487b5 /packages/fcl-base | |
| parent | af8970bccb495a3e9887ad2a96d7cd73164291c7 (diff) | |
| download | fpc-a9cdacfdfcc1010735dc49aae6251961b108ce76.tar.gz | |
* Added the global variable CustomApplication. If this variable is set
when a Application-object is initialized, other units can access this
Application-object without knowing its exact type or unit it is
defined in.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@13747 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-base')
| -rw-r--r-- | packages/fcl-base/src/custapp.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/fcl-base/src/custapp.pp b/packages/fcl-base/src/custapp.pp index f88bd32f18..9ff7fa2f85 100644 --- a/packages/fcl-base/src/custapp.pp +++ b/packages/fcl-base/src/custapp.pp @@ -80,6 +80,8 @@ Type Property StopOnException : Boolean Read FStopOnException Write FStopOnException; end; +var CustomApplication : TCustomApplication = nil; + Implementation {$if defined(darwin) and (defined(cpu386) or defined(cpupowerpc32))} |
