#ifndef BINARYFILEMETADATA_H #define BINARYFILEMETADATA_H #include #include #include class BinaryFileMetadata { public: BinaryFileMetadata(QString filename); void setFilename(QString filename) { m_filename = filename; } QString filename() const { return m_filename; } bool load(); bool save(); // void setEntryPoint(quint16 address, QString note = ""); // void setEntryPoint(EntryPoint ep); // bool hasEntryPointAtAddress(EntryPoint ep); // bool hasEntryPointAtAddress(quint16 address); // void removeEntryPoint(quint16 address); // QList getEntryPointList() const { return m_entryPoints.values(); } // QMap getEntryPointMap() const { return m_entryPoints; } // void setSymbol(quint16 address, QString name); // void setSymbol(AssemSymbol Symbol); // bool hasSymbol(AssemSymbol Symbol) const { return hasSymbolAtAddress(Symbol.address); } // bool hasSymbolAtAddress(quint16 address) const { return m_Symbols.contains(address); } // AssemSymbol getSymbolAtAddress(quint16 address); // void removeSymbol(AssemSymbol Symbol); // void removeSymbol(quint16 address); // QList getSymbolList() const { return m_Symbols.values(); } // QMap getSymbolMap() const { return m_Symbols; } private: // QMap m_Symbols; QString m_filename; }; #endif // BINARYFILEMETADATA_H