ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/aeinstallerapp.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/aeinstallerapp.cpp (file contents):
Revision 360 by gumby, Fri Jun 19 22:46:22 2009 UTC vs.
Revision 379 by iritscen, Mon Jun 29 19:23:42 2009 UTC

# Line 10 | Line 10
10   /////////////////////////////////////////////////////////////////////////////
11   #include "boost/thread.hpp"
12   #include <boost/thread/mutex.hpp>
13 <
13 > #include <fstream>
14   #include "boost/filesystem.hpp" // includes all needed Boost.Filesystem declarations
15   #include "boost/lexical_cast.hpp" //int -> string
16   using namespace boost::filesystem;
# Line 110 | Line 110 | bool AEInstallerApp::OnInit()
110          ////@end AEInstallerApp initialisation
111          TheWindow = mainWindow;
112          
113 + #ifndef WIN32
114 +        // CIP: test for the third-party mono framework, because without it, on Mac, we are up a creek
115 +        
116 +        
117 +        if (!monoPresent) // abort! abort! abort!
118 +        {
119 +                // CIP: disable window controls, present alert with URL to download mono, alert window has one button, "Quit"
120 +        }
121 + #endif
122 +
123          //anything after this is done after the window appears...
124                  if ( !exists("../GameDataFolder") ) {
125                  wxMessageDialog* YesNoDialog = new wxMessageDialog(TheWindow,           "You haven't globalized yet! \nYou must globalize to use the Anniversary Edition framework. \nWould you like to globalize now? (This could take a while...)\n(Selecting \"No\" will exit this program...)",  "AE Installer Alert",  wxYES_NO | wxICON_EXCLAMATION       , wxDefaultPosition);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)