00001 // Copyright (c) 2000-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 // This file contains the implementation of the extension functions which 00015 // have been declared in the numberstore.h file. 00016 // These file will be built into extensiondll.dll and thus in order to use 00017 // this function a client must link to extensiondll.lib 00018 // 00019 00020 #include "NumberStore.h" 00021 00022 00023 //Implementation of the added functions 00024 00025 EXPORT_C TInt CNumberStore::AddNumbers () const 00026 { 00027 return (iNumber1+iNumber2); 00028 } 00029 00030 EXPORT_C TInt CNumberStore::MultiplyNumbers() const 00031 { 00032 return DoMultiplyNumbers(); 00033 }