#ifndef UTILS_H
#define UTILS_H

#include "sgfplib.h"
#include <string>

#define REG_IMG_QUALITY 70
#define VRF_IMG_QUALITY 50

namespace Utils
{
    enum CustomErrorCode {
        UNKNOWN_ERROR = -1,
        ERROR_NONE = 0,
        AUTO_ON_ACTIVE = 1,
        DEVICE_NOT_OPENED = 2,
        CAPTURE_LOW_QUALITY = 3,
    };

    std::string CustomErrorCodeToString(CustomErrorCode error);
    std::string CustomErrorCodeToMessage(CustomErrorCode error);
    std::string SGErrortoString(SGFDxErrorCode);
    std::string SGFPMErrorToMessage(int);
}

#endif
