2006-01-30 21:29:10 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2006-01-30 21:29:10 +00:00
|
|
|
|
|
|
|
#ifndef nsPIListBoxObject_h__
|
|
|
|
#define nsPIListBoxObject_h__
|
|
|
|
|
2008-10-28 04:47:19 +00:00
|
|
|
class nsListBoxBodyFrame;
|
|
|
|
|
2007-10-06 15:03:35 +00:00
|
|
|
// fa9549f7-ee09-48fc-89f7-30cceee21c15
|
2006-01-30 21:29:10 +00:00
|
|
|
#define NS_PILISTBOXOBJECT_IID \
|
2007-10-06 15:03:35 +00:00
|
|
|
{ 0xfa9549f7, 0xee09, 0x48fc, \
|
|
|
|
{ 0x89, 0xf7, 0x30, 0xcc, 0xee, 0xe2, 0x1c, 0x15 } }
|
2006-01-30 21:29:10 +00:00
|
|
|
|
|
|
|
#include "nsIListBoxObject.h"
|
|
|
|
|
|
|
|
class nsPIListBoxObject : public nsIListBoxObject {
|
|
|
|
public:
|
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_PILISTBOXOBJECT_IID)
|
|
|
|
/**
|
|
|
|
* Get the list box body. This will search for it as needed.
|
2011-10-17 14:59:28 +00:00
|
|
|
* If aFlush is false we don't Flush_Frames though.
|
2006-01-30 21:29:10 +00:00
|
|
|
*/
|
2011-09-29 06:19:26 +00:00
|
|
|
virtual nsListBoxBodyFrame* GetListBoxBody(bool aFlush) = 0;
|
2006-01-30 21:29:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsPIListBoxObject, NS_PILISTBOXOBJECT_IID)
|
|
|
|
|
|
|
|
#endif // nsPIListBoxObject_h__
|