def writeInterfaceDecl(api, filename, functionTypes, concrete):

    def genProtos():
        postfix = ('' if concrete else ' = 0')
        for function in api.functions:
            if (not (function.getType() in functionTypes)):
                continue
            if (not function.isAlias):
                (yield ('virtual %s\t%s\t(%s) const%s;' % (function.returnType, getInterfaceName(function), argListToStr(function.arguments), postfix)))
    writeInlFile(filename, INL_HEADER, indentLines(genProtos()))
def writeInterfaceDecl(api, filename, functionTypes, concrete):

    def genProtos():
        postfix = ( if concrete else ' = 0')
        for function in api.functions:
            if (not (function.getType() in functionTypes)):
                continue
            if (not function.isAlias):
                (yield ('virtual %s\t%s\t(%s) const%s;' % (function.returnType, getInterfaceName(function), argListToStr(function.arguments), postfix)))
    writeInlFile(filename, INL_HEADER, indentLines(genProtos()))