1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/nsPIListBoxObject.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef nsPIListBoxObject_h__ 1.10 +#define nsPIListBoxObject_h__ 1.11 + 1.12 +class nsListBoxBodyFrame; 1.13 + 1.14 +// fa9549f7-ee09-48fc-89f7-30cceee21c15 1.15 +#define NS_PILISTBOXOBJECT_IID \ 1.16 +{ 0xfa9549f7, 0xee09, 0x48fc, \ 1.17 + { 0x89, 0xf7, 0x30, 0xcc, 0xee, 0xe2, 0x1c, 0x15 } } 1.18 + 1.19 +#include "nsIListBoxObject.h" 1.20 + 1.21 +class nsPIListBoxObject : public nsIListBoxObject { 1.22 + public: 1.23 + NS_DECLARE_STATIC_IID_ACCESSOR(NS_PILISTBOXOBJECT_IID) 1.24 + /** 1.25 + * Get the list box body. This will search for it as needed. 1.26 + * If aFlush is false we don't Flush_Frames though. 1.27 + */ 1.28 + virtual nsListBoxBodyFrame* GetListBoxBody(bool aFlush) = 0; 1.29 +}; 1.30 + 1.31 +NS_DEFINE_STATIC_IID_ACCESSOR(nsPIListBoxObject, NS_PILISTBOXOBJECT_IID) 1.32 + 1.33 +#endif // nsPIListBoxObject_h__