apptraits for wxMac classic and carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
42
include/wx/mac/apptbase.h
Normal file
42
include/wx/mac/apptbase.h
Normal file
@@ -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 <vadim@wxwindows.org>
|
||||||
|
// 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_
|
||||||
|
|
34
include/wx/mac/apptrait.h
Normal file
34
include/wx/mac/apptrait.h
Normal file
@@ -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 <vadim@wxwindows.org>
|
||||||
|
// 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_
|
||||||
|
|
Reference in New Issue
Block a user