Commit 2bac127d authored by Nathan Froyd's avatar Nathan Froyd
Browse files

Bug 914826 - part 3 - forward-declare nsIFile for GetMinidump() declaration; r=ehsan

parent 40a6747a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2613,6 +2613,12 @@ class _GenerateProtocolActorCode(ipdl.ast.Visitor):
            CppDirective('include', '"'+ p.channelHeaderFile() +'"'),
            Whitespace.NL ])

        if ptype.isToplevel() and self.side is 'parent':
            self.hdrfile.addthings([
                    _makeForwardDeclForQClass('nsIFile', []),
                    Whitespace.NL
                    ])

        self.cls = Class(
            self.clsname,
            inherits=[ Inherit(Type(p.fqListenerName()), viz='protected'),