diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-30 00:15:22 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-04 12:01:06 +0200 |
commit | 73d568408a150875b5c6046680f38e6db287c8fa (patch) | |
tree | 3c6d87ae03cc8193ef1d418d7a1ff7272bbbae53 /udkapi/com/sun/star/lang/SystemDependent.idl | |
parent | b84bffc86a913383bb3fa7f9f3d963d32681f778 (diff) |
*api: convert <listing> and @example
<listing> is called @code / @endcode in doxygen.
@example requires a file name in doxygen.
Also adapt various silly examples that use tools String in C++ or manual
syntax highlighting in Java etc.
Change-Id: I23cff1b688001f438526a6a1364cc5f754b504f7
Diffstat (limited to 'udkapi/com/sun/star/lang/SystemDependent.idl')
-rw-r--r-- | udkapi/com/sun/star/lang/SystemDependent.idl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/udkapi/com/sun/star/lang/SystemDependent.idl b/udkapi/com/sun/star/lang/SystemDependent.idl index 89447b467f59..1764eb98edd4 100644 --- a/udkapi/com/sun/star/lang/SystemDependent.idl +++ b/udkapi/com/sun/star/lang/SystemDependent.idl @@ -27,16 +27,14 @@ module com { module sun { module star { module lang { <p> You should avoid system-dependent methods if possible. - @example:C++ - - <listing> - #ifdef __WINDOW // Microsoft Windows + @code{.cpp} + #ifdef _WIN32 // Microsoft Windows HWND hWin = (HWND)xInterface->getWindowHandle(SystemDependentWIN32); if( hWin ) ... #elif( ... ) // other systems ... #endif - </listing> + @endcode <p>The Symbols are now prepended with SYSTEM_ thus we avoid collisions with system headers. </p> |