diff options
Diffstat (limited to 'AudioManagerUtilities/include/CAmCommandLineSingleton.h')
-rw-r--r-- | AudioManagerUtilities/include/CAmCommandLineSingleton.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/AudioManagerUtilities/include/CAmCommandLineSingleton.h b/AudioManagerUtilities/include/CAmCommandLineSingleton.h new file mode 100644 index 0000000..54ba774 --- /dev/null +++ b/AudioManagerUtilities/include/CAmCommandLineSingleton.h @@ -0,0 +1,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_ */ |