nsPIListBoxObject.h 987 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef nsPIListBoxObject_h__
  6. #define nsPIListBoxObject_h__
  7. class nsListBoxBodyFrame;
  8. // fa9549f7-ee09-48fc-89f7-30cceee21c15
  9. #define NS_PILISTBOXOBJECT_IID \
  10. { 0xfa9549f7, 0xee09, 0x48fc, \
  11. { 0x89, 0xf7, 0x30, 0xcc, 0xee, 0xe2, 0x1c, 0x15 } }
  12. #include "nsIListBoxObject.h"
  13. class nsPIListBoxObject : public nsIListBoxObject {
  14. public:
  15. NS_DECLARE_STATIC_IID_ACCESSOR(NS_PILISTBOXOBJECT_IID)
  16. /**
  17. * Get the list box body. This will search for it as needed.
  18. * If aFlush is false we don't Flush_Frames though.
  19. */
  20. virtual nsListBoxBodyFrame* GetListBoxBody(bool aFlush) = 0;
  21. };
  22. NS_DEFINE_STATIC_IID_ACCESSOR(nsPIListBoxObject, NS_PILISTBOXOBJECT_IID)
  23. #endif // nsPIListBoxObject_h__