Files
envi-code/SourceCode/Code2026/inc/AdsXRx/XCompressLib.h
T
2026-09-28 15:28:50 +08:00

49 lines
1.2 KiB
C++

//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, SH Software Co. Ltd.
// = FileName : XCompressLib 类
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
// = Description: XCompressLib 声明
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _XCompressLib_H_
#define _XCompressLib_H_
#ifndef _XASLibMan_H_
#include "XASLibMan.h"
#endif
#ifndef _XSTRING_
#include "XAString.h"
#endif
#ifndef _XWCSTRING_H_
#include "XWString.h"
#endif
class GEOAPI XCompressLib : public XASLibMan
{
public:
XCompressLib(const TCHAR *fname, const TCHAR *ext, const TCHAR *title,int opMode = (_ios::in | _ios::out | _ios::binary));
virtual ~XCompressLib();
//拷贝第 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:
XString extNormal; //正常文件的后缀
};
#endif