Top | Module | Use | Manual | Index |
You should avoid system-dependent methods if possible.
#ifdef __WINDOW // Microsoft Windows HWND hWin = (HWND)xInterface->getWindowHandle(SystemDependentWIN32); if( hWin ) ... #elif( ... ) // other systems ... #endif
The Symbols are now prepended with SYSTEM_ thus we avoid collisions with system headers.
Constants |
|
const short SYSTEM_WIN32 = = 1; |
|
const short SYSTEM_WIN16 = = 2; |
|
const short SYSTEM_JAVA = = 3; |
|
const short SYSTEM_OS2 = = 4; |
|
const short SYSTEM_MAC = = 5; |
|
const short SYSTEM_XWINDOW = = 6; |
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.