2006-01-11 21:28:25 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2006-01-11 21:27:53 +00:00
|
|
|
|
|
|
|
#ifndef nsScreenOS2_h___
|
|
|
|
#define nsScreenOS2_h___
|
|
|
|
|
2012-01-05 02:12:48 +00:00
|
|
|
#include "nsBaseScreen.h"
|
2006-01-11 21:27:53 +00:00
|
|
|
|
2006-01-13 17:56:40 +00:00
|
|
|
#define INCL_WIN
|
|
|
|
#define INCL_DOS
|
|
|
|
#include <os2.h>
|
|
|
|
|
2006-01-11 21:27:53 +00:00
|
|
|
//------------------------------------------------------------------------
|
|
|
|
|
2012-01-05 02:12:48 +00:00
|
|
|
class nsScreenOS2 : public nsBaseScreen
|
2006-01-11 21:27:53 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsScreenOS2 ( );
|
|
|
|
virtual ~nsScreenOS2();
|
|
|
|
|
2012-01-05 02:12:48 +00:00
|
|
|
NS_IMETHOD GetRect(PRInt32* aLeft, PRInt32* aTop, PRInt32* aWidth, PRInt32* aHeight);
|
|
|
|
NS_IMETHOD GetAvailRect(PRInt32* aLeft, PRInt32* aTop, PRInt32* aWidth, PRInt32* aHeight);
|
|
|
|
NS_IMETHOD GetPixelDepth(PRInt32* aPixelDepth);
|
|
|
|
NS_IMETHOD GetColorDepth(PRInt32* aColorDepth);
|
2006-01-11 21:27:53 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // nsScreenOS2_h___
|