commands/variant/variant.h
changeset 0 7f656887cf89
child 41 4a2ffd3562a3
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 // variant.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 #include <fshell/ioutils.h>
       
    14 
       
    15 using namespace IoUtils;
       
    16 
       
    17 class CCmdVariant : public CCommandBase
       
    18 	{
       
    19 public:
       
    20 	static CCommandBase* NewLC();
       
    21 	~CCmdVariant();
       
    22 private:
       
    23 	CCmdVariant();
       
    24 	TInt GetMachineUidL();
       
    25 
       
    26 	// From CCommandBase.
       
    27 	virtual const TDesC& Name() const;
       
    28 	virtual void DoRunL();
       
    29 	virtual void ArgumentsL(RCommandArgumentList& aArguments);
       
    30 	virtual void OptionsL(RCommandOptionList& aOptions);
       
    31 private:
       
    32 	RArray<TUint> iMachineId;
       
    33 	RPointerArray<HBufC> iVariant;
       
    34 	TBool iVerbose;
       
    35 	};