24 lines
396 B
C++
24 lines
396 B
C++
//
|
|
// Created by lukas on 15.03.21.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
class CMDParser {
|
|
public:
|
|
class Arguments {
|
|
public:
|
|
// enable loop mode
|
|
bool loop = false;
|
|
bool force = false;
|
|
// enable currentIP mode
|
|
bool currentIP = false;
|
|
};
|
|
|
|
Arguments* parseArguments(int argc, char *argv[]);
|
|
private:
|
|
Arguments args;
|
|
|
|
void processParameter(char *arg);
|
|
};
|