38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2013-2013
|
|
//----------------------------------------------------------------------------
|
|
// File : GdbExecutor.h Data : 25.11.13 Versione : 1.3a1
|
|
// Contenuto : Dichiarazione della classe GdbExecutor.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 27.03.13 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EgnCmdExecutor.h"
|
|
#include "/EgtDev/Include/EgtILogger.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
class TegExecutor : public ICmdExecutor
|
|
{
|
|
public :
|
|
virtual bool Execute( const std::string& sCmd1, const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
|
|
public :
|
|
TegExecutor( void) ;
|
|
~TegExecutor( void) ;
|
|
void Init( ILogger* pLogger) ;
|
|
|
|
private :
|
|
bool ExecuteRun( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
bool ExecuteDir( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
bool ExecuteFile( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
|
|
private :
|
|
ILogger* m_pLogger ;
|
|
} ;
|