00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: AbstractParserFactory.h 00005 * 00006 * Description: Abstract factory builder for parsers 00007 * 00008 * Version: 1.0 00009 * Created: 12/22/2009 05:21:45 PM 00010 * Revision: none 00011 * Compiler: gcc 00012 * 00013 * Author: Kail (k), sickboy@anarchy.name 00014 * Company: Ergon 00015 * 00016 * ===================================================================================== 00017 */ 00018 00019 #include "../library.h" 00020 #ifndef ABSTRACT_PARSER_FACTORY_H 00021 #define ABSTRACT_PARSER_FACTORY_H 00022 00023 class AbstractParserFactory{ 00024 00025 protected: 00026 AbstractParserFactory(); 00027 public: 00028 virtual AbstractParser *buildParser(const char *contenttype) = 0; 00029 virtual ~AbstractParserFactory(); 00030 }; 00031 00032 #endif
1.5.8