core/builtins/ymodem.h
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 // ymodem.h
       
     2 // 
       
     3 // Copyright (c) 2008 - 2010 Accenture. All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 // 
       
     9 // Initial Contributors:
       
    10 // Accenture - Initial contribution
       
    11 //
       
    12 
       
    13 
       
    14 #ifndef __YMODEM_H__
       
    15 #define __YMODEM_H__
       
    16 
       
    17 #include <fshell/ioutils.h>
       
    18 #include "xmodem.h"
       
    19 
       
    20 using namespace IoUtils;
       
    21 
       
    22 
       
    23 class CCmdYmodem : public CCmdXmodem
       
    24 	{
       
    25 public:
       
    26 	static CCommandBase* NewLC();
       
    27 	~CCmdYmodem();
       
    28 private:
       
    29 	CCmdYmodem();
       
    30 private: // From CCommandBase.
       
    31 	virtual const TDesC& Name() const;
       
    32 	virtual void DoRunL();
       
    33 	virtual void ArgumentsL(RCommandArgumentList& aArguments);
       
    34 	virtual void OptionsL(RCommandOptionList& aOptions);
       
    35 private:
       
    36 	RArray<TFileName2> iFileNames;
       
    37 	};
       
    38 
       
    39 
       
    40 #endif // __YMODEM_H__