Rename CommandLineHandle class

This commit is contained in:
2015-09-23 19:24:56 +01:00
parent c7c33417c7
commit 64fd5cb1a9
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ INCLUDE_DIRECTORIES(
set(plaYUver_Tools_SRCS
main.cpp
PlaYUVerTools.cpp
CommandLineHandle.cpp
PlaYUVerToolsCmdParser.cpp
)
ADD_EXECUTABLE( ${PROJECT_NAME}Tools ${plaYUver_Tools_SRCS} )
+2 -2
View File
@@ -29,7 +29,7 @@
#include "lib/PlaYUVerDefs.h"
#include "lib/PlaYUVerFrame.h"
#include "lib/PlaYUVerStream.h"
#include "CommandLineHandle.h"
#include "PlaYUVerToolsCmdParser.h"
namespace plaYUVer
{
@@ -49,7 +49,7 @@ public:
Int Close();
private:
CommandLineHandle m_cCmdLineHandler;
PlaYUVerToolsCmdParser m_cCmdLineHandler;
Bool m_bVerbose;
UInt m_uiOperation;
@@ -18,13 +18,13 @@
*/
/**
* \file CommandLineHandle.cpp
* \file PlaYUVerToolsCmdParser.cpp
* \brief Handle for command line
*/
#include <cstring>
#include <cstdarg>
#include "CommandLineHandle.h"
#include "PlaYUVerToolsCmdParser.h"
#include "lib/PlaYUVerFrame.h"
#include "lib/PlaYUVerStream.h"
#include "lib/PlaYUVerModuleIf.h"
@@ -33,7 +33,7 @@
namespace plaYUVer
{
CommandLineHandle::CommandLineHandle()
PlaYUVerToolsCmdParser::PlaYUVerToolsCmdParser()
{
m_uiLogLevel = 0;
m_bQuiet = false;
@@ -41,12 +41,12 @@ CommandLineHandle::CommandLineHandle()
m_iFrames = -1;
}
CommandLineHandle::~CommandLineHandle()
PlaYUVerToolsCmdParser::~PlaYUVerToolsCmdParser()
{
}
Void CommandLineHandle::log( UInt level, const char *fmt, ... )
Void PlaYUVerToolsCmdParser::log( UInt level, const char *fmt, ... )
{
if( level >= m_uiLogLevel )
{
@@ -57,7 +57,7 @@ Void CommandLineHandle::log( UInt level, const char *fmt, ... )
}
}
Int CommandLineHandle::parseToolsArgs( Int argc, Char *argv[] )
Int PlaYUVerToolsCmdParser::parseToolsArgs( Int argc, Char *argv[] )
{
Int iRet = 0;
@@ -108,7 +108,7 @@ Int CommandLineHandle::parseToolsArgs( Int argc, Char *argv[] )
return iRet;
}
Void CommandLineHandle::listModules()
Void PlaYUVerToolsCmdParser::listModules()
{
Bool bDetailed = false;
@@ -164,7 +164,7 @@ Void CommandLineHandle::listModules()
}
}
Void CommandLineHandle::listModuleHelp()
Void PlaYUVerToolsCmdParser::listModuleHelp()
{
std::string moduleName = m_strModule;
PlaYUVerModuleIf* pcCurrModuleIf = NULL;
@@ -18,12 +18,12 @@
*/
/**
* \file CommandLineHandle.h
* \file PlaYUVerToolsCmdParser.h
* \brief Handle for command line
*/
#ifndef __COMMANDLINEHANDLE_H__
#define __COMMANDLINEHANDLE_H__
#ifndef __PLAYUVERTOOLSCMDPARSER_H__
#define __PLAYUVERTOOLSCMDPARSER_H__
#include "config.h"
#include "lib/PlaYUVerDefs.h"
@@ -34,12 +34,12 @@ namespace plaYUVer
class PlaYUVerStream;
class CommandLineHandle: public PlaYUVerCmdParser
class PlaYUVerToolsCmdParser: public PlaYUVerCmdParser
{
friend class PlaYUVerTools;
public:
CommandLineHandle();
~CommandLineHandle();
PlaYUVerToolsCmdParser();
~PlaYUVerToolsCmdParser();
Void setLogLevel( enum LOG_LEVEL level )
{
@@ -93,4 +93,4 @@ private:
} // NAMESPACE
#endif // __COMMANDLINEHANDLE_H__
#endif // __PLAYUVERTOOLSCMDPARSER_H__