aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/powerman.cpp
AgeCommit message (Collapse)Author
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-06-15PSP: fixed up PowerManager and removed dependency on SDLYotam Barnoy
svn-id: r49852
2010-04-25PSP:Implemented fingolfin's suggestion for cleaning up debugging codeYotam Barnoy
svn-id: r48792
2010-04-12PSP: Fix code formatting using astyleMax Horn
svn-id: r48634
2010-04-12PSP: refactoring/redesign of the backendYotam Barnoy
svn-id: r48632
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
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
2009-09-23PSP: improved suspend/resume support [patch from bluddy]Joost Peters
svn-id: r44276
2009-08-17Commit (slightly) modified version of patch #2831248: Allow suspend/resume ↵Joost Peters
for PSP svn-id: r43477