1999-03-09 22:10:31 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* 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/
|
1999-03-09 22:10:31 +00:00
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* 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.
|
1999-03-09 22:10:31 +00:00
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1999-03-09 22:10:31 +00:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:40:37 +00:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1999-03-09 22:10:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef nsIClipView_h___
|
|
|
|
#define nsIClipView_h___
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
|
|
|
|
|
|
|
// IID for the nsIClipView interface
|
|
|
|
#define NS_ICLIPVIEW_IID \
|
|
|
|
{ 0x4cc36160, 0xd282, 0x11d2, \
|
|
|
|
{ 0x90, 0x67, 0x00, 0x60, 0xb0, 0xf1, 0x99, 0xa2 } }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* this is here so that we can query a view to see if it
|
|
|
|
* exists for clipping.
|
1999-04-16 21:22:45 +00:00
|
|
|
*
|
|
|
|
* this is such a hack that i think it deserves a song
|
|
|
|
* of it's own: (from monty python)
|
|
|
|
*
|
|
|
|
* Philosophers song
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Immanual Kant was a real pissant
|
|
|
|
* Who was very rarely stable
|
|
|
|
*
|
|
|
|
* Heidegger, Heidegger was a boozy beggar
|
|
|
|
* Who could think you under the table
|
|
|
|
*
|
|
|
|
* David Hume could out consume
|
|
|
|
* Schopenhauer and Hegel
|
|
|
|
*
|
|
|
|
* And Wittgenstein was a beery swine
|
|
|
|
* Who was just as schloshed as Schlegel
|
|
|
|
*
|
|
|
|
* There's nothing Nietzche couldn't teach ya
|
|
|
|
* 'Bout the raising of the wrist
|
|
|
|
* Socrates, himself, was permanently pissed
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* John Stuart Mill, of his own free will
|
|
|
|
* On half a pint of shandy was particularly ill
|
|
|
|
*
|
|
|
|
* Plato they say, could stick it away
|
|
|
|
* Half a crate of whiskey every day
|
|
|
|
*
|
|
|
|
* Aristotle, Aristotle was a bugger for the bottle
|
|
|
|
* Hobbes was fond of his dram
|
|
|
|
*
|
|
|
|
* And Rene' Descartes was a drunken fart
|
|
|
|
* "I drink, therefore I am"
|
|
|
|
*
|
|
|
|
* Yes, Socrates, himself, is particularly missed
|
|
|
|
* A lovely little thinker
|
|
|
|
* But a bugger when he's pissed
|
|
|
|
*
|
1999-03-09 22:10:31 +00:00
|
|
|
*/
|
|
|
|
class nsIClipView : public nsISupports
|
|
|
|
{
|
1999-06-24 22:40:53 +00:00
|
|
|
public:
|
1999-09-13 03:03:42 +00:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICLIPVIEW_IID)
|
1999-03-09 22:10:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|