From e60e84be6405dc4f4aa5557cd7ab0e7b2df66f0c Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Fri, 23 Jun 2000 14:34:17 +0000 Subject: [PATCH] Added new class definitions for the PrintOptions class. r=kmmclusky b=36796 --- gfx/src/photon/nsPrintOptionsPh.cpp | 42 ++++++++++++++++++++++++++++ gfx/src/photon/nsPrintOptionsPh.h | 43 +++++++++++++++++++++++++++++ gfx/src/ps/nsPrintOptionsPS.cpp | 42 ++++++++++++++++++++++++++++ gfx/src/ps/nsPrintOptionsPS.h | 43 +++++++++++++++++++++++++++++ 4 files changed, 170 insertions(+) create mode 100644 gfx/src/photon/nsPrintOptionsPh.cpp create mode 100644 gfx/src/photon/nsPrintOptionsPh.h create mode 100644 gfx/src/ps/nsPrintOptionsPS.cpp create mode 100644 gfx/src/ps/nsPrintOptionsPS.h diff --git a/gfx/src/photon/nsPrintOptionsPh.cpp b/gfx/src/photon/nsPrintOptionsPh.cpp new file mode 100644 index 000000000000..eb440861f558 --- /dev/null +++ b/gfx/src/photon/nsPrintOptionsPh.cpp @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Netscape Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ +#include "nsPrintOptionsPh.h" + + + +/** --------------------------------------------------- + * See documentation in nsPrintOptionsWin.h + * @update 6/21/00 dwc + */ +nsPrintOptionsPh::nsPrintOptionsPh() +{ + +} + +/** --------------------------------------------------- + * See documentation in nsPrintOptionsImpl.h + * @update 6/21/00 dwc + */ +nsPrintOptionsPh::~nsPrintOptionsPh() +{ +} + diff --git a/gfx/src/photon/nsPrintOptionsPh.h b/gfx/src/photon/nsPrintOptionsPh.h new file mode 100644 index 000000000000..44e1bdcf0401 --- /dev/null +++ b/gfx/src/photon/nsPrintOptionsPh.h @@ -0,0 +1,43 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is Netscape + * Communications, Inc. Portions created by Netscape are + * Copyright (C) 1999, Mozilla. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + */ + +#ifndef nsPrintOptionsPh_h__ +#define nsPrintOptionsPh_h__ + +#include "nsPrintOptionsImpl.h" + + +//***************************************************************************** +//*** nsPrintOptions +//***************************************************************************** +class nsPrintOptionsPh : public nsPrintOptions +{ +public: + nsPrintOptionsPh(); + virtual ~nsPrintOptionsPh(); + + +}; + + + +#endif /* nsPrintOptions_h__ */ diff --git a/gfx/src/ps/nsPrintOptionsPS.cpp b/gfx/src/ps/nsPrintOptionsPS.cpp new file mode 100644 index 000000000000..7ba24a206333 --- /dev/null +++ b/gfx/src/ps/nsPrintOptionsPS.cpp @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Netscape Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ +#include "nsPrintOptionsPS.h" + + + +/** --------------------------------------------------- + * See documentation in nsPrintOptionsWin.h + * @update 6/21/00 dwc + */ +nsPrintOptionsPS::nsPrintOptionsPS() +{ + +} + +/** --------------------------------------------------- + * See documentation in nsPrintOptionsImpl.h + * @update 6/21/00 dwc + */ +nsPrintOptionsPS::~nsPrintOptionsPS() +{ +} + diff --git a/gfx/src/ps/nsPrintOptionsPS.h b/gfx/src/ps/nsPrintOptionsPS.h new file mode 100644 index 000000000000..991b0037b568 --- /dev/null +++ b/gfx/src/ps/nsPrintOptionsPS.h @@ -0,0 +1,43 @@ +/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Mozilla browser. + * + * The Initial Developer of the Original Code is Netscape + * Communications, Inc. Portions created by Netscape are + * Copyright (C) 1999, Mozilla. All Rights Reserved. + * + * Contributor(s): + * Travis Bogard + */ + +#ifndef nsPrintOptionsPS_h__ +#define nsPrintOptionsPS_h__ + +#include "nsPrintOptionsImpl.h" + + +//***************************************************************************** +//*** nsPrintOptions +//***************************************************************************** +class nsPrintOptionsPh : public nsPrintOptions +{ +public: + nsPrintOptionsPS(); + virtual ~nsPrintOptionsPS(); + + +}; + + + +#endif /* nsPrintOptions_h__ */