2022-05-16 09:00:08 +00:00
|
|
|
|
#ifndef __HGOCRRETIMPL_HPP__
|
2022-05-11 09:19:50 +00:00
|
|
|
|
#define __HGOCRRETIMPL_HPP__
|
|
|
|
|
|
|
|
|
|
#include "../base/HGDef.h"
|
|
|
|
|
#include "../base/HGBaseErr.h"
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
class HGOCRRetImpl
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
HGOCRRetImpl(const std::vector<std::string> &blockInfo);
|
|
|
|
|
~HGOCRRetImpl();
|
|
|
|
|
|
|
|
|
|
HGResult GetBlockCount(HGUInt *count);
|
|
|
|
|
HGResult GetBlockText(HGUInt index, const HGChar** text);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
std::vector<std::string> m_blockInfo;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif /* __HGOCRRETIMPL_HPP__ */
|