asmparser.h

00001 /***************************************************************************
00002  *   Copyright (C) 2005 by David Saxton                                    *
00003  *   david@bluehaze.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef ASMPARSER_H
00012 #define ASMPARSER_H
00013 
00014 #include <qstring.h>
00015 
00016 class GpsimDebugger;
00017 
00024 class AsmParser
00025 {
00026         public:
00027                 AsmParser( const QString &url );
00028                 ~AsmParser();
00029                 
00030                 enum Type { Relocatable, Absolute };
00031                 
00038                 bool parse( GpsimDebugger * debugger = 0 );
00042                 QString picID() const { return m_picID; }
00047                 bool containsRadix() const { return m_bContainsRadix; }
00052                 Type type() const { return m_type; }
00053                 
00054         protected:
00055                 const QString m_url;
00056                 QString m_picID;
00057                 bool m_bContainsRadix;
00058                 Type m_type;
00059 };
00060 
00061 #endif

Generated on Tue May 8 17:05:27 2007 for KTechLab by  doxygen 1.5.1