//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>
//------------------------------------------------------------------------------

#ifndef CLING_DISPLAY_H
#define CLING_DISPLAY_H

#include <string>

namespace llvm {
  class raw_ostream;
}

namespace cling {
class Interpreter;

void DisplayClasses(llvm::raw_ostream &stream,
                    const Interpreter *interpreter, bool verbose);
void DisplayClass(llvm::raw_ostream &stream, 
                  const Interpreter *interpreter, const char *className, 
                  bool verbose);

void DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);
void DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, 
                   const std::string &name);

}

#endif

//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>
//------------------------------------------------------------------------------

#ifndef CLING_DISPLAY_H
#define CLING_DISPLAY_H

#include <string>

namespace llvm {
  class raw_ostream;
}

namespace cling {

void DisplayClasses(llvm::raw_ostream &stream,
                    const class Interpreter *interpreter, bool verbose);
void DisplayClass(llvm::raw_ostream &stream, 
                  const Interpreter *interpreter, const char *className, 
                  bool verbose);

void DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);
void DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, 
                   const std::string &name);

}

#endif

--- 
+++ 
@@ -14,9 +14,10 @@
 }
 
 namespace cling {
+class Interpreter;
 
 void DisplayClasses(llvm::raw_ostream &stream,
-                    const class Interpreter *interpreter, bool verbose);
+                    const Interpreter *interpreter, bool verbose);
 void DisplayClass(llvm::raw_ostream &stream, 
                   const Interpreter *interpreter, const char *className, 
                   bool verbose);
Fix fwd decl for windows.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@47814 27541ba8-7e3a-0410-8455-c3a389f83636
