1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-05 01:28:39 +00:00
pdf2htmlEX/src/TmpFiles.h

28 lines
383 B
C
Raw Normal View History

2012-11-26 21:38:13 +00:00
#ifndef TMPFILES_H__
#define TMPFILES_H__
#include <string>
#include <set>
#include "Param.h"
namespace pdf2htmlEX {
class TmpFiles
{
public:
2012-11-27 16:17:29 +00:00
explicit TmpFiles( const Param& param );
~TmpFiles();
2012-11-26 21:38:13 +00:00
2012-11-27 16:17:29 +00:00
void add( const std::string& fn);
2012-11-26 21:38:13 +00:00
private:
void clean();
2012-11-27 16:17:29 +00:00
const Param& param;
2012-11-26 21:38:13 +00:00
std::set<std::string> tmp_files;
};
} // namespace pdf2htmlEX
#endif //TMPFILES_H__