aboutsummaryrefslogtreecommitdiff
path: root/gui/browser_osx.mm
AgeCommit message (Collapse)Author
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2009-12-26Using #include instead of #import to include some mac os x headers to avoid ↵Oystein Eftevaag
silly gcc warnings, that we'd otherwise have to remove -pedantic to get rid of svn-id: r46597
2009-12-26Add "End of namespace" comment.Johannes Schickel
svn-id: r46594
2009-12-26Buildbot compile fix for os x cross compileOystein Eftevaag
svn-id: r46592
2009-12-26Committing the actual new browser_osx.mm file, oopsOystein Eftevaag
svn-id: r46583