Commit d6547b35 authored by arq5x's avatar arq5x
Browse files

add missing includes

parent 2b1df940
/*
* ContextSpacing.cpp
*
* Created on: Jan 15, 2015
* Author: Aaron Quinlan
*/
#include "ContextSpacing.h"
ContextSpacing::ContextSpacing()
{
setSortedInput(true);
}
ContextSpacing::~ContextSpacing()
{
}
bool ContextSpacing::parseCmdArgs(int argc, char **argv, int skipFirstArgs) {
_argc = argc;
_argv = argv;
_skipFirstArgs = skipFirstArgs;
if (_argc < 2) {
setShowHelp(true);
return false;
}
setProgram(_programNames[argv[0]]);
_argsProcessed.resize(_argc - _skipFirstArgs, false);
for (_i=_skipFirstArgs; _i < argc; _i++) {
if (isUsed(_i - _skipFirstArgs)) {
continue;
}
}
return ContextBase::parseCmdArgs(argc, argv, 1);
}
/*
* ContextSpacing.h
*
* Created on: Jan 15, 2015
* Author: Aaron Quinlan
*/
#ifndef CONTEXTSPACING_H_
#define CONTEXTSPACING_H_
#include "ContextBase.h"
class ContextSpacing : public ContextBase {
public:
ContextSpacing();
~ContextSpacing();
//bool isValidState();
virtual bool parseCmdArgs(int argc, char **argv, int skipFirstArgs);
};
#endif /* CONTEXTSPACING_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment