mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CLI: Added A2 ctor
This commit is contained in:
parent
644439e587
commit
cb6d7b0abe
2 changed files with 13 additions and 0 deletions
|
@ -28,6 +28,11 @@
|
||||||
#include <CLI.h>
|
#include <CLI.h>
|
||||||
#include <shared.h>
|
#include <shared.h>
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
A2::A2 (const std::string& raw, Lexer::Type lextype)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void CLI::entity (const std::string& category, const std::string& name)
|
void CLI::entity (const std::string& category, const std::string& name)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,10 +27,18 @@
|
||||||
#ifndef INCLUDED_CLI
|
#ifndef INCLUDED_CLI
|
||||||
#define INCLUDED_CLI
|
#define INCLUDED_CLI
|
||||||
|
|
||||||
|
#include <Lexer.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
// Represents a single argument.
|
||||||
|
class A2
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
A2 (const std::string&, Lexer::Type);
|
||||||
|
};
|
||||||
|
|
||||||
// Represents the command line.
|
// Represents the command line.
|
||||||
class CLI
|
class CLI
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue