mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +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
26
music/pokeredmusicdisasm/File.h
Normal file
26
music/pokeredmusicdisasm/File.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef FILE_H
|
||||
#define FILE_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <fstream>
|
||||
|
||||
class File
|
||||
{
|
||||
public:
|
||||
File();
|
||||
File(std::string filename, unsigned int offset = 0, unsigned int length = 0);
|
||||
|
||||
string GetFileName();
|
||||
void SetFilename(string value);
|
||||
|
||||
private:
|
||||
std::string filename;
|
||||
std::vector<unsigned char> fileBuffer;
|
||||
std::fstream fileHandle;
|
||||
|
||||
std::vector<unsigned char>::iterator start;
|
||||
std::vector<unsigned char>::iterator cur;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue