1
//============================================================================
5
// SS tttttt eeee ll ll aaaa
6
// SSSS tt ee ee ll ll aa
7
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
8
// SS SS tt ee ll ll aa aa
9
// SSSS ttt eeeee llll llll aaaaa
11
// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team
13
// See the file "license" for information on usage and redistribution of
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
// $Id: OSystemMACOSX.hxx,v 1.4 2006/03/27 16:00:37 stephena Exp $
17
//============================================================================
19
#ifndef OSYSTEM_MACOSX_HXX
20
#define OSYSTEM_MACOSX_HXX
26
This class defines UNIX-like OS's (Linux) system specific settings.
29
@version $Id: OSystemMACOSX.hxx,v 1.4 2006/03/27 16:00:37 stephena Exp $
31
class OSystemMACOSX : public OSystem
35
Create a new UNIX-specific operating system object
42
virtual ~OSystemMACOSX();
46
This method runs the main loop. Since different platforms
47
may use different timing methods and/or algorithms, this method has
48
been abstracted to each platform.
50
virtual void mainLoop();
53
This method returns number of ticks in microseconds.
55
@return Current time in microseconds.
57
virtual uInt32 getTicks();
60
This method queries the dimensions of the screen for this hardware.
62
virtual void getScreenDimensions(int& width, int& height);
65
Informs the OSystem of a change in EventHandler state.
67
virtual void stateChanged(EventHandler::State state);
70
Informs the OSystem of a change in pause status.
72
virtual void pauseChanged(bool status);