gecko-dev/view/public/nsIClipView.h

84 строки
2.5 KiB
C++

/* -*- 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):
*/
#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.
*
* 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
*
*/
class nsIClipView : public nsISupports
{
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICLIPVIEW_IID)
};
#endif