commands/sysinfo/sysinfo.h
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 // sysinfo.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 #ifndef __SYSINFO_H__
       
    13 #define __SYSINFO_H__
       
    14 
       
    15 #include <hal.h>
       
    16 #include <hal_data.h>
       
    17 
       
    18 #include <fshell/ioutils.h>
       
    19 using namespace IoUtils;
       
    20 
       
    21 class CCmdSysInfo : public CCommandBase
       
    22 	{
       
    23 public:
       
    24 	static CCommandBase* NewLC();
       
    25 	~CCmdSysInfo();
       
    26 private:
       
    27 	CCmdSysInfo();
       
    28 	void UpdateEnvironmentL();
       
    29 	void PrintHalL(HALData::TAttribute aHalAttribute);
       
    30 	void PrintPhoneIdL();
       
    31 	void PrintWlanL();
       
    32 	void PrintKernelHalStuff();
       
    33 	void PagingFormat(TUint aFlags);
       
    34 	void PrintRomVersion();
       
    35 	static void IdentCapToString(TUint32& aCap, TDes &aDes);
       
    36 	
       
    37 private: // From CCommandBase.
       
    38 	virtual const TDesC& Name() const;
       
    39 	virtual void DoRunL();
       
    40 	virtual void OptionsL(RCommandOptionList& aOptions);
       
    41 private:
       
    42 	TBool iMachineUIDOnly;
       
    43 	};
       
    44 
       
    45 
       
    46 #endif // __SYSINFO_H__