a
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
// FileTransfer.cpp: implementation of the FileTransfer class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "FileTransfer.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[]=__FILE__;
|
||||
#define new DEBUG_NEW
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Construction/Destruction
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FileTransfer::FileTransfer()
|
||||
// {
|
||||
//
|
||||
// }
|
||||
//
|
||||
// FileTransfer::~FileTransfer()
|
||||
// {
|
||||
//
|
||||
// }
|
||||
|
||||
void FileTransfer::error( char *fmt, ... )
|
||||
{
|
||||
va_list argptr;
|
||||
|
||||
va_start( argptr, fmt );
|
||||
vprintf( fmt, argptr );
|
||||
putc( '\n', stdout );
|
||||
va_end( argptr );
|
||||
}
|
||||
|
||||
void FileTransfer::status( char *fmt, ... )
|
||||
{
|
||||
va_list argptr;
|
||||
|
||||
va_start( argptr, fmt );
|
||||
vprintf( fmt, argptr );
|
||||
putc( '\n', stdout );
|
||||
va_end( argptr );
|
||||
}
|
||||
Reference in New Issue
Block a user