IncrementalClearCOMRuleArray.h 740 B

12345678910111213141516171819202122232425262728
  1. /* -*- Mode: C++; tab-width: 8; 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 mozilla_IncrementalClearCOMRuleArray_h
  6. #define mozilla_IncrementalClearCOMRuleArray_h
  7. #include "nsCOMArray.h"
  8. namespace mozilla {
  9. namespace css {
  10. class Rule;
  11. } // namespace css
  12. class IncrementalClearCOMRuleArray : public nsCOMArray<css::Rule>
  13. {
  14. public:
  15. IncrementalClearCOMRuleArray() {}
  16. ~IncrementalClearCOMRuleArray() { Clear(); }
  17. void Clear();
  18. };
  19. } // namespace mozilla
  20. #endif /* !defined(mozilla_IncrementalClearCOMRuleArray_h) */