summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/include/CAmCommandLineSingleton.h
blob: 54ba774bc6bf5d4f7fd9494a8a01770f2f2e9d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * CAmCommandLineSingleton.h
 *
 *  Created on: Apr 15, 2015
 *      Author: genius
 */

#ifndef AUDIOMANAGERUTILITIES_INCLUDE_CAMCOMMANDLINESINGLETON_H_
#define AUDIOMANAGERUTILITIES_INCLUDE_CAMCOMMANDLINESINGLETON_H_

#include "tclap/CmdLine.h"

namespace am {

class CAmCommandLineSingleton {
public:
	static TCLAP::CmdLine* instanciateOnce(const std::string& message,
			const char delimiter = ' ',
			const std::string& version = "none",
			bool helpAndVersion = true);
	static TCLAP::CmdLine* instance();
private:
	CAmCommandLineSingleton();
	virtual ~CAmCommandLineSingleton();
};

} /* namespace am */

#endif /* AUDIOMANAGERUTILITIES_INCLUDE_CAMCOMMANDLINESINGLETON_H_ */