mirror of
https://github.com/isledecomp/actionheadergen.git
synced 2024-12-02 12:06:51 -05:00
21 lines
511 B
C
21 lines
511 B
C
|
#ifndef HEADERGENERATOR_H
|
||
|
#define HEADERGENERATOR_H
|
||
|
|
||
|
#include <fstream>
|
||
|
#include <iostream>
|
||
|
#include <vector>
|
||
|
|
||
|
class HeaderGenerator {
|
||
|
public:
|
||
|
bool GenerateHeader(char *p_interleafName, std::vector<const char *> *p_actionVector, char *p_outputDir);
|
||
|
|
||
|
private:
|
||
|
bool CreateHeader(char *p_interleafName, char *p_outputDir);
|
||
|
bool WriteHeader(char *p_interleafName, std::vector<const char *> *p_actionVector);
|
||
|
std::ofstream m_fout;
|
||
|
char m_normalizedInlfName[512];
|
||
|
};
|
||
|
|
||
|
#endif // HEADERGENERATOR_H
|
||
|
|