mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-01-31 10:24:13 -06:00
4.59 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
3901bf0ab8
commit
173c07e166
@@ -12,7 +12,7 @@ void SplitCommandLine(const UString &s, UStringVector &parts);
|
||||
|
||||
namespace NSwitchType {
|
||||
enum EEnum
|
||||
{
|
||||
{
|
||||
kSimple,
|
||||
kPostMinus,
|
||||
kLimitedPostString,
|
||||
@@ -44,12 +44,12 @@ class CParser
|
||||
{
|
||||
int _numSwitches;
|
||||
CSwitchResult *_switches;
|
||||
bool ParseString(const UString &s, const CSwitchForm *switchForms);
|
||||
bool ParseString(const UString &s, const CSwitchForm *switchForms);
|
||||
public:
|
||||
UStringVector NonSwitchStrings;
|
||||
CParser(int numSwitches);
|
||||
~CParser();
|
||||
void ParseStrings(const CSwitchForm *switchForms,
|
||||
void ParseStrings(const CSwitchForm *switchForms,
|
||||
const UStringVector &commandStrings);
|
||||
const CSwitchResult& operator[](size_t index) const;
|
||||
};
|
||||
@@ -64,7 +64,7 @@ struct CCommandForm
|
||||
};
|
||||
|
||||
// Returns: Index of form and postString; -1, if there is no match
|
||||
int ParseCommand(int numCommandForms, const CCommandForm *commandForms,
|
||||
int ParseCommand(int numCommandForms, const CCommandForm *commandForms,
|
||||
const UString &commandString, UString &postString);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user