123456789101112131415161718192021222324252627282930313233343536 |
- #pragma once
- #include <afxwin.h>
- #include <string>
- #include <iostream>
- #include <fstream>
- #include <sstream>
- #include "DataBaseService.h"
- #include <map>
- #include <vector>
- using namespace std;
- class CUnZipService
- {
- public:
- CUnZipService(const wstring& _indexdbpath, const wstring& _batchdbpath,
- const wstring& _iamgepath, const wstring& _workpath,
- const wstring& _sharefilename, const wstring& _sharefilepath);
- CUnZipService(const wstring& _indexdbpath, vector<int>& vct);
- ~CUnZipService();
- bool ParseImageDir(int& last_id);
- void InsertBatchFail(int state, int zipfile_cnt);
- void InsertBatchInfo(); // Ïòbatch.db3Êý¾Ý¿âbatchinfo±í²åÈëÊý¾Ý
- private:
- void InitDirectory();
- int GetLastIndex();
-
- wstring m_strIamgePath;
- wstring m_strWorkPath;
- };
|