00001 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // Contains the definition of the CAdder class. 00015 // 00016 00017 00018 00022 #ifndef __ADDER_H__ 00023 #define __ADDER_H__ 00024 00025 #include "longnumber.h" 00031 class CAdder : public CBase 00032 { 00033 public: 00034 static CAdder* NewL(CLongNumber* aNum1); 00035 ~CAdder(); 00036 TInt Add(); 00037 private: 00038 CAdder(CLongNumber* aNum1); 00039 private: 00043 CLongNumber* iLongNumber; 00047 TInt iResult; 00048 }; 00049 00050 #endif 00051
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.