mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
This commit is contained in:
parent
550da7a9ff
commit
a504b896bf
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
nsScreenBeOS :: nsScreenBeOS ( )
|
nsScreenBeOS :: nsScreenBeOS ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
nsScreenManagerBeOS :: nsScreenManagerBeOS ( )
|
nsScreenManagerBeOS :: nsScreenManagerBeOS ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
nsScreenGtk :: nsScreenGtk ( )
|
nsScreenGtk :: nsScreenGtk ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
mScreenNum = 0;
|
mScreenNum = 0;
|
||||||
mXOrg = 0;
|
mXOrg = 0;
|
||||||
|
@ -53,7 +53,7 @@ extern "C"
|
|||||||
|
|
||||||
nsScreenManagerGtk :: nsScreenManagerGtk ( )
|
nsScreenManagerGtk :: nsScreenManagerGtk ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
nsScreenGtk :: nsScreenGtk ( )
|
nsScreenGtk :: nsScreenGtk ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
mScreenNum = 0;
|
mScreenNum = 0;
|
||||||
mXOrg = 0;
|
mXOrg = 0;
|
||||||
|
@ -53,7 +53,7 @@ extern "C"
|
|||||||
|
|
||||||
nsScreenManagerGtk :: nsScreenManagerGtk ( )
|
nsScreenManagerGtk :: nsScreenManagerGtk ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
nsScreenMac :: nsScreenMac ( GDHandle inScreen )
|
nsScreenMac :: nsScreenMac ( GDHandle inScreen )
|
||||||
: mScreen(inScreen)
|
: mScreen(inScreen)
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
NS_ASSERTION ( inScreen, "Passing null device to nsScreenMac" );
|
NS_ASSERTION ( inScreen, "Passing null device to nsScreenMac" );
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ public:
|
|||||||
|
|
||||||
nsScreenManagerMac :: nsScreenManagerMac ( )
|
nsScreenManagerMac :: nsScreenManagerMac ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
nsScreenManagerOS2 :: nsScreenManagerOS2 ( )
|
nsScreenManagerOS2 :: nsScreenManagerOS2 ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
nsScreenOS2 :: nsScreenOS2 ( )
|
nsScreenOS2 :: nsScreenOS2 ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "nsPhGfxLog.h"
|
#include "nsPhGfxLog.h"
|
||||||
|
|
||||||
nsScreenManagerPh :: nsScreenManagerPh( ) {
|
nsScreenManagerPh :: nsScreenManagerPh( ) {
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
// has changed.
|
// has changed.
|
||||||
|
@ -49,7 +49,7 @@ nsScreenPh :: nsScreenPh ( ) {
|
|||||||
PhRid_t rid;
|
PhRid_t rid;
|
||||||
PhRegion_t region;
|
PhRegion_t region;
|
||||||
|
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
/* Initialize the data members */
|
/* Initialize the data members */
|
||||||
/* Get the Screen Size and Depth*/
|
/* Get the Screen Size and Depth*/
|
||||||
|
@ -81,7 +81,7 @@ nsScreenManagerWin :: nsScreenManagerWin ( )
|
|||||||
: mHasMultiMonitorAPIs(PR_FALSE), mGetMonitorInfoProc(nsnull), mMonitorFromRectProc(nsnull),
|
: mHasMultiMonitorAPIs(PR_FALSE), mGetMonitorInfoProc(nsnull), mMonitorFromRectProc(nsnull),
|
||||||
mEnumDisplayMonitorsProc(nsnull), mNumberOfScreens(0)
|
mEnumDisplayMonitorsProc(nsnull), mNumberOfScreens(0)
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// figure out if we can call the multiple monitor APIs that are only
|
// figure out if we can call the multiple monitor APIs that are only
|
||||||
// available on Win98/2000.
|
// available on Win98/2000.
|
||||||
|
@ -65,7 +65,7 @@ nsScreenWin :: nsScreenWin ( void* inScreen )
|
|||||||
: mScreen(inScreen), mHasMultiMonitorAPIs(PR_FALSE),
|
: mScreen(inScreen), mHasMultiMonitorAPIs(PR_FALSE),
|
||||||
mGetMonitorInfoProc(nsnull)
|
mGetMonitorInfoProc(nsnull)
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
HDC hDCScreen = ::GetDC(nsnull);
|
HDC hDCScreen = ::GetDC(nsnull);
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
nsScreenManagerXlib :: nsScreenManagerXlib ( )
|
nsScreenManagerXlib :: nsScreenManagerXlib ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
nsScreenXlib :: nsScreenXlib ( )
|
nsScreenXlib :: nsScreenXlib ( )
|
||||||
{
|
{
|
||||||
NS_INIT_REFCNT();
|
NS_INIT_ISUPPORTS();
|
||||||
|
|
||||||
// nothing else to do. I guess we could cache a bunch of information
|
// nothing else to do. I guess we could cache a bunch of information
|
||||||
// here, but we want to ask the device at runtime in case anything
|
// here, but we want to ask the device at runtime in case anything
|
||||||
|
Loading…
Reference in New Issue
Block a user