Revision 13f1ac5a
Added by David Sorber almost 8 years ago
| software/photo_compress_archiver/PhotoCompressArchiver.hh | ||
|---|---|---|
|
const std::string UP_ONE = "\033[1A";
|
||
|
const std::string DOWN_ONE = "\033[1B";
|
||
|
|
||
|
const std::string version("v0.3.5");
|
||
|
const std::string version("v0.4.1");
|
||
|
|
||
|
const boost::regex JPEG_REGEX("^.+\\.(jpg)|(jpeg)$", boost::regex::icase);
|
||
|
const boost::regex PJG_REGEX("^.+\\.pjg$", boost::regex::icase);
|
||
| ... | ... | |
|
const std::string PJG_EXTENSION(".pjg");
|
||
|
|
||
|
const uint32_t PROGRESS_BAR_WIDTH = 80;
|
||
|
const std::string LINE(100, '-');
|
||
|
|
||
|
class WorkUnit
|
||
|
{
|
||
| ... | ... | |
|
uint32_t m_num_threads; // number of processing threads to use
|
||
|
bool m_decompress; // decompress files instead of compress them
|
||
|
bool m_delete_orig; // delete original files after de/compression
|
||
|
bool m_verbose ; // verbose processing output
|
||
|
bool m_verbose; // verbose processing output
|
||
|
|
||
|
std::mutex m_output_mutex; // output mutex
|
||
|
|
||
Minor formatting changes for running status output.