aboutsummaryrefslogtreecommitdiff
path: root/common/singleton.h
AgeCommit message (Collapse)Author
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2008-05-03Formatting.Johannes Schickel
svn-id: r31852
2008-04-26Fixed segfault when trying to start invalid gameid from command line.Johannes Schickel
svn-id: r31731
2008-03-26Modified Patch #1925352: Memory leak fixesMax Horn
svn-id: r31244
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-27Reverted r26922.Johannes Schickel
svn-id: r26967
2007-05-22Simpilified Singleton implementation and usage.Johannes Schickel
svn-id: r26922
2007-03-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
2005-05-10Fix compilationEugene Sandulenko
svn-id: r18016
2005-05-09fixed compilation for evc4 and vc7Paweł Kołodziejski
svn-id: r18013
2005-01-27emsvc4 need public access, hmmm...Paweł Kołodziejski
svn-id: r16650
2005-01-10yet another attempt to get makeInstance working for gcc 3.3, gcc 3.2, and ↵Max Horn
MSVC (thanks to wjp for the suggestion). Works fine with GCC 3.2 and 3.3 svn-id: r16525
2005-01-06Modify the singleton code once more to help overcome an issue with MSVC 7 ↵Max Horn
(see also patch #1095133) svn-id: r16454
2005-01-01Changed the singleton code to allow for custom object factories; this ↵Max Horn
allowed me to change OSystem to use the singleton base class, too svn-id: r16404
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-30cleanupMax Horn
svn-id: r16382
2004-12-29Compile fix from cyxTravis Howell
svn-id: r16366
2004-12-28Fix running ScummVM in plugin-modeMax Horn
svn-id: r16360
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-10slightly altered singleton implemention, might help MSVC6, or might screw it ↵Max Horn
even more :-) svn-id: r11543
2003-11-02turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵Max Horn
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045
2003-10-08new config manager. not everything is completed, and some things will still ↵Max Horn
be changed, but it seems to work well enough to put it into CVS svn-id: r10687