EncodeHint.h Example File
appdemos/qtws/QZXing/zxing/zxing/EncodeHint.h
#ifndef ENCODEHINTTYPE_H
#define ENCODEHINTTYPE_H
#include <string>
#include <zxing/qrcode/ErrorCorrectionLevel.h>
namespace zxing {
class EncodeHint
{
private:
zxing::qrcode::ErrorCorrectionLevel* errorCorrectionLevel_;
std::string characterSet_;
int margin_;
public:
EncodeHint();
const std::string getCharacterSet() const { return characterSet_; }
const zxing::qrcode::ErrorCorrectionLevel* getErrorCorrectionLevel() { return errorCorrectionLevel_; }
void setCharacterSet(const std::string& characterSet) { characterSet_ = characterSet; }
void setErrorCorrectionLevel(zxing::qrcode::ErrorCorrectionLevel* errorCorectionLevel)
{ errorCorrectionLevel_ = errorCorectionLevel; }
};
}
#endif //ENCODEHINTTYPE_H