with GNATCOM.Dispinterface;

package MSHTML.IHTMLCSSMediaRule_Interface is

   type IHTMLCSSMediaRule_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IHTMLCSSMediaRule_Type);

   function Pointer (This : IHTMLCSSMediaRule_Type)
     return Pointer_To_IHTMLCSSMediaRule;

   procedure Attach (This    : in out IHTMLCSSMediaRule_Type;
                     Pointer : in     Pointer_To_IHTMLCSSMediaRule);

   procedure Put_media
     (This : IHTMLCSSMediaRule_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_media
     (This : IHTMLCSSMediaRule_Type)
     return GNATCOM.Types.VARIANT;

   function Get_cssRules
     (This : IHTMLCSSMediaRule_Type)
     return Pointer_To_IHTMLStyleSheetRulesCollection;

   function insertRule
     (This       : IHTMLCSSMediaRule_Type;
      bstrRule   : GNATCOM.Types.BSTR;
      lIndex     : Interfaces.C.long;
      Free       : Boolean := True)
     return Interfaces.C.long;

   procedure deleteRule
     (This   : IHTMLCSSMediaRule_Type;
      lIndex : Interfaces.C.long);

end MSHTML.IHTMLCSSMediaRule_Interface;

