28 lines
744 B
C++
28 lines
744 B
C++
#pragma once
|
|
#include "TGGiSlibStorage.h"
|
|
#include "ACString.h"
|
|
#include "WCString.h"
|
|
|
|
class TGGiCompressStorage : public TGGiSlibStorage
|
|
{
|
|
public:
|
|
|
|
TGGiCompressStorage(const TCHAR *fname, const TCHAR *ext, const TCHAR *title,int opMode = (std::ios_base::in | std::ios_base::out | std::ios_base::binary));
|
|
virtual ~TGGiCompressStorage();
|
|
|
|
//拷贝第 n 个记录到磁盘文件
|
|
virtual int Copy(int n, const TCHAR *sldfile);
|
|
|
|
virtual int QuickCopy(const TCHAR *sldfile);
|
|
|
|
//移第 n 个记录到磁盘文件
|
|
virtual int Move(int n, const TCHAR *sldfile);
|
|
|
|
// 往库文件添加一个记录
|
|
virtual int Append(const TCHAR *sldfile, const TCHAR *szEntryEname = NULL);
|
|
|
|
public:
|
|
TCString extNormal; //正常文件的后缀
|
|
};
|
|
|