2005-04-29 07:33:42 +00:00
|
|
|
// Berkeley Open Infrastructure for Network Computing
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2005 University of California
|
|
|
|
//
|
|
|
|
// This is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
|
|
// License as published by the Free Software Foundation;
|
|
|
|
// either version 2.1 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This software is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// To view the GNU Lesser General Public License visit
|
|
|
|
// http://www.gnu.org/copyleft/lesser.html
|
|
|
|
// or write to the Free Software Foundation, Inc.,
|
|
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
|
|
// HTTP_OP represents an HTTP operation.
|
|
|
|
// There are variants for GET and POST,
|
|
|
|
// and for the data source/sink (see below).
|
|
|
|
|
|
|
|
#ifndef _MACGUI_H_
|
|
|
|
#define _MACGUI_H_
|
|
|
|
/*
|
|
|
|
* MacGUI.pch
|
|
|
|
* BOINCManager precompiled headers file for Mac
|
|
|
|
*/
|
2007-01-22 03:57:34 +00:00
|
|
|
|
|
|
|
// To use the Development (Debug) build of wxMac (allows stepping into wxMac
|
|
|
|
// source code, enables debug, trace, Asserts, etc.):
|
2007-03-14 08:50:02 +00:00
|
|
|
// (1) Set USE_DEBUG_WXMAC to 1
|
2007-01-22 03:57:34 +00:00
|
|
|
// (2) Select Development build configuration
|
|
|
|
// (3) Select mgr_boinc target
|
|
|
|
// (4) In Xcode's View menu, set "Groups & Files Column > Target Membership" on
|
|
|
|
// (5) In the XCode project's Groups and Files column:
|
|
|
|
// uncheck "External Frameworks and Libraries/libwx_mac_static.a"
|
|
|
|
// (6) In the XCode project's Groups and Files column:
|
|
|
|
// check "External Frameworks and Libraries/wxMac-BOINC.xcodeproj/libwx_mac_static.a"
|
|
|
|
//
|
|
|
|
// This will have no effect on the BOINC Manager Deployment build, which will still
|
|
|
|
// use the wxMac Deployment build.
|
|
|
|
//
|
|
|
|
// To use the wxMac Deployment build even in BOINC Manager Development builds, reverse
|
|
|
|
// the above steps (setting USE_DEBUG_WXMAC to 0, etc.)
|
|
|
|
|
|
|
|
#define USE_DEBUG_WXMAC 0
|
2005-04-29 07:33:42 +00:00
|
|
|
|
|
|
|
#define WX_PRECOMP
|
|
|
|
|
2006-02-01 10:58:26 +00:00
|
|
|
#define HAVE_SSIZE_T
|
|
|
|
|
2007-01-22 03:57:34 +00:00
|
|
|
#if (defined(_DEBUG) && (! USE_DEBUG_WXMAC))
|
2005-04-29 07:33:42 +00:00
|
|
|
|
2007-01-22 03:57:34 +00:00
|
|
|
#undef _DEBUG // so we can link with Deployment Wx libs
|
2006-06-15 11:11:41 +00:00
|
|
|
#undef __WXDEBUG__
|
|
|
|
|
|
|
|
#include "stdwx.h"
|
2005-04-29 07:33:42 +00:00
|
|
|
|
2006-06-15 11:11:41 +00:00
|
|
|
#define _DEBUG // Redefine _DEBUG for the rest of the code
|
2005-07-29 23:29:05 +00:00
|
|
|
#define __WXDEBUG__
|
2006-06-15 11:11:41 +00:00
|
|
|
|
2007-01-22 03:57:34 +00:00
|
|
|
#else // ! (defined(_DEBUG) && (! USE_DEBUG_WXMAC))
|
2006-06-15 11:11:41 +00:00
|
|
|
|
|
|
|
#include "stdwx.h"
|
|
|
|
|
2007-01-22 03:57:34 +00:00
|
|
|
#endif // ! (defined(_DEBUG) && (! USE_DEBUG_WXMAC))
|
2006-06-15 11:11:41 +00:00
|
|
|
|
|
|
|
#include "config.h"
|
2005-07-29 23:29:05 +00:00
|
|
|
|
2005-11-02 08:02:16 +00:00
|
|
|
// Prototypes for Mac_GUI.cpp
|
|
|
|
Boolean Mac_Authorize(void);
|
2005-07-29 23:29:05 +00:00
|
|
|
|
2005-04-29 07:33:42 +00:00
|
|
|
#endif
|