mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
made changes in repo
hg-commit-id: 1145e088ee27
This commit is contained in:
parent
21caa525cc
commit
4d0797bc3a
30 changed files with 1748 additions and 0 deletions
23
music/pokeredmusicdisasm/AbstractData.h
Normal file
23
music/pokeredmusicdisasm/AbstractData.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef ABSTRACTDATA_H
|
||||
#define ABSTRACTDATA_H
|
||||
|
||||
#include <string>
|
||||
|
||||
// All information types inherit from here
|
||||
class AbstractData
|
||||
{
|
||||
public:
|
||||
AbstractData();
|
||||
|
||||
virtual std::string GenAsm(); // Generate Assembly Output
|
||||
virtual bool IsValid(unsigned char* byte); // Check for byte validity
|
||||
virtual bool Parse(unsigned char* byte); // Parse Given Data
|
||||
virtual unsigned int Arguments(); // Number of arguments taken
|
||||
|
||||
virtual bool GetError(); // Get Error (No Write, Error is read only)
|
||||
|
||||
protected:
|
||||
bool error; // Whether there's an error in parsing or not
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue