layout/xul/nsPIListBoxObject.h

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #ifndef nsPIListBoxObject_h__
     7 #define nsPIListBoxObject_h__
     9 class nsListBoxBodyFrame;
    11 // fa9549f7-ee09-48fc-89f7-30cceee21c15
    12 #define NS_PILISTBOXOBJECT_IID \
    13 { 0xfa9549f7, 0xee09, 0x48fc, \
    14   { 0x89, 0xf7, 0x30, 0xcc, 0xee, 0xe2, 0x1c, 0x15 } }
    16 #include "nsIListBoxObject.h"
    18 class nsPIListBoxObject : public nsIListBoxObject {
    19  public:
    20   NS_DECLARE_STATIC_IID_ACCESSOR(NS_PILISTBOXOBJECT_IID)
    21   /**
    22    * Get the list box body.  This will search for it as needed.
    23    * If aFlush is false we don't Flush_Frames though.
    24    */
    25   virtual nsListBoxBodyFrame* GetListBoxBody(bool aFlush) = 0;
    26 };
    28 NS_DEFINE_STATIC_IID_ACCESSOR(nsPIListBoxObject, NS_PILISTBOXOBJECT_IID)
    30 #endif // nsPIListBoxObject_h__

mercurial