mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-15 00:11:40 -06:00
4.27 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
31e7b924e8
commit
d66cf2fcf3
39
7zip/Compress/Rar29/Original/strlist.hpp
Executable file
39
7zip/Compress/Rar29/Original/strlist.hpp
Executable file
@@ -0,0 +1,39 @@
|
||||
#ifndef _RAR_STRLIST_
|
||||
#define _RAR_STRLIST_
|
||||
|
||||
class StringList
|
||||
{
|
||||
private:
|
||||
Array<char> StringData;
|
||||
unsigned int CurPos;
|
||||
|
||||
Array<wchar> StringDataW;
|
||||
unsigned int CurPosW;
|
||||
|
||||
Array<int> PosDataW;
|
||||
uint PosDataItem;
|
||||
|
||||
uint StringsCount;
|
||||
|
||||
uint SaveCurPos[16],SaveCurPosW[16],SavePosDataItem[16],SavePosNumber;
|
||||
public:
|
||||
StringList();
|
||||
~StringList();
|
||||
void Reset();
|
||||
unsigned int AddString(const char *Str);
|
||||
unsigned int AddString(const char *Str,const wchar *StrW);
|
||||
bool GetString(char *Str,int MaxLength);
|
||||
bool GetString(char *Str,wchar *StrW,int MaxLength);
|
||||
bool GetString(char *Str,wchar *StrW,int MaxLength,int StringNum);
|
||||
char* GetString();
|
||||
bool GetString(char **Str,wchar **StrW);
|
||||
char* GetString(unsigned int StringPos);
|
||||
void Rewind();
|
||||
unsigned int ItemsCount() {return(StringsCount);};
|
||||
int GetBufferSize();
|
||||
bool Search(char *Str,wchar *StrW,bool CaseSensitive);
|
||||
void SavePosition();
|
||||
void RestorePosition();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user