~ubuntu-branches/ubuntu/raring/scummvm/raring

« back to all changes in this revision

Viewing changes to backends/platform/maemo/maemo.cpp

  • Committer: Package Import Robot
  • Author(s): Moritz Muehlenhoff
  • Date: 2012-01-14 11:39:15 UTC
  • mfrom: (21.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120114113915-hy9kyzbyncrqen3y
Tags: 1.4.1-1
* New upstream release
* Install translations.dat into scummvm-data    

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "backends/platform/maemo/maemo.h"
31
31
#include "backends/events/maemosdl/maemosdl-events.h"
 
32
#include "backends/graphics/maemosdl/maemosdl-graphics.h"
32
33
#include "common/textconsole.h"
33
34
 
34
35
 
47
48
        if (_eventSource == 0)
48
49
                _eventSource = new MaemoSdlEventSource();
49
50
 
 
51
        if (_graphicsManager == 0)
 
52
                _graphicsManager = new MaemoSdlGraphicsManager(_eventSource);
 
53
 
50
54
        ConfMan.set("vkeybdpath", DATA_PATH);
51
55
 
52
56
        _model = Model(detectModel());
108
112
        return *model;
109
113
}
110
114
 
 
115
void OSystem_SDL_Maemo::setupIcon() {
 
116
        // no Maemo version needs setupIcon
 
117
        // also N900 is hit by SDL_WM_SetIcon bug (window cannot receive input)
 
118
        // http://bugzilla.libsdl.org/show_bug.cgi?id=586
 
119
}
 
120
 
111
121
} //namespace Maemo
112
122
 
113
123
#endif