| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: help.h |
| 3 | // Purpose: wxHelpController base header |
| 4 | // Author: wxWidgets Team |
| 5 | // Modified by: |
| 6 | // Created: |
| 7 | // Copyright: (c) Julian Smart |
| 8 | // RCS-ID: $Id$ |
| 9 | // Licence: wxWindows licence |
| 10 | ///////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | #ifndef _WX_HELP_H_BASE_ |
| 13 | #define _WX_HELP_H_BASE_ |
| 14 | |
| 15 | #include "wx/defs.h" |
| 16 | |
| 17 | #if wxUSE_HELP |
| 18 | |
| 19 | #include "wx/helpbase.h" |
| 20 | |
| 21 | #ifdef __WXWINCE__ |
| 22 | #include "wx/msw/wince/helpwce.h" |
| 23 | |
| 24 | #define wxHelpController wxWinceHelpController |
| 25 | #elif defined(__WXPALMOS__) |
| 26 | #include "wx/palmos/help.h" |
| 27 | |
| 28 | #define wxHelpController wxPalmHelpController |
| 29 | #elif defined(__WXMSW__) |
| 30 | #include "wx/msw/helpchm.h" |
| 31 | |
| 32 | #define wxHelpController wxCHMHelpController |
| 33 | #else // !MSW |
| 34 | |
| 35 | #if wxUSE_WXHTML_HELP |
| 36 | #include "wx/html/helpctrl.h" |
| 37 | #define wxHelpController wxHtmlHelpController |
| 38 | #else |
| 39 | #include "wx/generic/helpext.h" |
| 40 | #define wxHelpController wxExtHelpController |
| 41 | #endif |
| 42 | |
| 43 | #endif // MSW/!MSW |
| 44 | |
| 45 | #endif // wxUSE_HELP |
| 46 | |
| 47 | #endif |
| 48 | // _WX_HELP_H_BASE_ |