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