Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/library/parser.h

Go to the documentation of this file.
00001 //
00002 // C++ Interface: parser
00003 //
00004 // Description: Interface header for the parser Parser
00005 //
00006 //
00007 // Author: Ingo Kossyk <kossyki@cs.tu-berlin.de>, (C) 2004
00008 // Author: Tobias Rafreider trafreider@mixxx.org, (C) 2011
00009 //
00010 // Copyright: See COPYING file that comes with this distribution
00011 //
00012 //
00013 
00014 #ifndef PARSER_H
00015 #define PARSER_H
00016 
00024 #include <qobject.h>
00025 #include <qstring.h>
00026 #include <qfile.h>
00027 
00028 
00029 class Parser : public QObject
00030 {
00031 public:
00032     Parser();
00033     ~Parser();
00038     virtual QList<QString> parse(QString) = 0;
00039 
00040 
00041 protected:
00043     QList<QString> m_sLocations;
00045     long countParsed();
00047     void clearLocations();
00049     bool isBinary(QString);
00051     bool isFilepath(QString );
00052     // check for Utf8 encoding
00053     static bool isUtf8(const char* string);
00054 };
00055 
00056 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines