Source-highlight Library
/home/bettini/work/source-highlight/src-highlite/lib/srchilite/languageinfer.h
00001 //
00002 // C++ Interface: languageinfer
00003 //
00004 // Description:
00005 //
00006 //
00007 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2006
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 #ifndef LANGUAGEINFER_H
00013 #define LANGUAGEINFER_H
00014 
00015 #include <string>
00016 #include <iostream>
00017 
00018 namespace srchilite {
00019 
00030 class LanguageInfer {
00031 public:
00032     LanguageInfer();
00033 
00034     ~LanguageInfer();
00035 
00041     const std::string infer(const std::string &filename);
00042 
00048     const std::string infer(std::istream &stream = std::cin);
00049 };
00050 
00051 }
00052 
00053 #endif