|
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/. */ |
|
5 |
|
6 #ifndef nsPIListBoxObject_h__ |
|
7 #define nsPIListBoxObject_h__ |
|
8 |
|
9 class nsListBoxBodyFrame; |
|
10 |
|
11 // fa9549f7-ee09-48fc-89f7-30cceee21c15 |
|
12 #define NS_PILISTBOXOBJECT_IID \ |
|
13 { 0xfa9549f7, 0xee09, 0x48fc, \ |
|
14 { 0x89, 0xf7, 0x30, 0xcc, 0xee, 0xe2, 0x1c, 0x15 } } |
|
15 |
|
16 #include "nsIListBoxObject.h" |
|
17 |
|
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 }; |
|
27 |
|
28 NS_DEFINE_STATIC_IID_ACCESSOR(nsPIListBoxObject, NS_PILISTBOXOBJECT_IID) |
|
29 |
|
30 #endif // nsPIListBoxObject_h__ |