michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * interface to provide DOM inspector with access to internal interfaces michael@0: * via DOM interface michael@0: */ michael@0: michael@0: #ifndef nsICSSStyleRuleDOMWrapper_h_ michael@0: #define nsICSSStyleRuleDOMWrapper_h_ michael@0: michael@0: #include "nsIDOMCSSStyleRule.h" michael@0: michael@0: // IID for the nsICSSStyleRuleDOMWrapper interface michael@0: // {cee1bbb6-0a32-4cf3-8d42-ba3938e9ecaa} michael@0: #define NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID \ michael@0: {0xcee1bbb6, 0x0a32, 0x4cf3, {0x8d, 0x42, 0xba, 0x39, 0x38, 0xe9, 0xec, 0xaa}} michael@0: michael@0: michael@0: class nsICSSStyleRuleDOMWrapper : public nsIDOMCSSStyleRule { michael@0: public: michael@0: NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID) michael@0: michael@0: NS_IMETHOD GetCSSStyleRule(mozilla::css::StyleRule** aResult) = 0; michael@0: }; michael@0: michael@0: NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSStyleRuleDOMWrapper, michael@0: NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID) michael@0: michael@0: #endif /* !defined(nsICSSStyleRuleDOMWrapper_h_) */