1 //===- WindowsResourceDumper.h - Windows Resource printer -------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TOOLS_LLVM_READOBJ_WINDOWSRESOURCEDUMPER_H
11 #define LLVM_TOOLS_LLVM_READOBJ_WINDOWSRESOURCEDUMPER_H
13 #include "llvm/Object/WindowsResource.h"
14 #include "llvm/Support/ScopedPrinter.h"
18 namespace WindowsRes
{
22 Dumper(WindowsResource
*Res
, ScopedPrinter
&SW
) : SW(SW
), WinRes(Res
) {}
28 WindowsResource
*WinRes
;
30 void printEntry(const ResourceEntryRef
&Ref
);
33 } // namespace WindowsRes