This commit is contained in:
dougt%netscape.com 2006-01-11 21:28:34 +00:00
parent 550da7a9ff
commit a504b896bf
16 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -44,7 +44,7 @@
nsScreenGtk :: nsScreenGtk ( ) nsScreenGtk :: nsScreenGtk ( )
{ {
NS_INIT_REFCNT(); NS_INIT_ISUPPORTS();
mScreenNum = 0; mScreenNum = 0;
mXOrg = 0; mXOrg = 0;

View File

@ -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

View File

@ -44,7 +44,7 @@
nsScreenGtk :: nsScreenGtk ( ) nsScreenGtk :: nsScreenGtk ( )
{ {
NS_INIT_REFCNT(); NS_INIT_ISUPPORTS();
mScreenNum = 0; mScreenNum = 0;
mXOrg = 0; mXOrg = 0;

View File

@ -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

View File

@ -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" );

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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*/

View File

@ -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.

View File

@ -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);

View File

@ -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

View File

@ -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