diff --git a/include/wx/mac/apptbase.h b/include/wx/mac/apptbase.h new file mode 100644 index 0000000000..47133019df --- /dev/null +++ b/include/wx/mac/apptbase.h @@ -0,0 +1,42 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/mac/apptbase.h +// Purpose: declaration of wxAppTraits for Mac systems +// Author: Vadim Zeitlin +// Modified by: Stefan Csomor +// Created: 23.06.2003 +// RCS-ID: $Id$ +// Copyright: (c) 2003 Vadim Zeitlin +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_MAC_APPTBASE_H_ +#define _WX_MAC_APPTBASE_H_ + +// ---------------------------------------------------------------------------- +// wxAppTraits: the Mac version adds extra hooks needed by Mac code +// ---------------------------------------------------------------------------- + +class WXDLLEXPORT wxAppTraits : public wxAppTraitsBase +{ +public: + // wxExecute() support methods + // --------------------------- + + // TODO + + // wxThread helpers + // ---------------- + + + // TODO + + // other miscellaneous helpers + // --------------------------- + + // under Mac this function does the same thing for console and GUI + // applications so we can implement it directly in the base class + virtual int GetOSVersion(int *verMaj, int *verMin); +}; + +#endif // _WX_UNIX_APPTBASE_H_ + diff --git a/include/wx/mac/apptrait.h b/include/wx/mac/apptrait.h new file mode 100644 index 0000000000..bb133cca3a --- /dev/null +++ b/include/wx/mac/apptrait.h @@ -0,0 +1,34 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/mac/apptrait.h +// Purpose: standard implementations of wxAppTraits for MacOS +// Author: Vadim Zeitlin +// Modified by: Stefan Csomor +// Created: 23.06.2003 +// RCS-ID: $Id$ +// Copyright: (c) 2003 Vadim Zeitlin +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_MAC_APPTRAIT_H_ +#define _WX_MAC_APPTRAIT_H_ + +// ---------------------------------------------------------------------------- +// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase +// ---------------------------------------------------------------------------- + +class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase +{ +public: +}; + +#if wxUSE_GUI + +class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase +{ +public: +}; + +#endif // wxUSE_GUI + +#endif // _WX_MAC_APPTRAIT_H_ +