diff -r a151135b0cf9 -r aa2539c91954 tracesrv/tracecompiler/test/TracesInHeadersApps/multmmp_separate_source/dll/inc/HelloTraceInterface2.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tracesrv/tracecompiler/test/TracesInHeadersApps/multmmp_separate_source/dll/inc/HelloTraceInterface2.h Fri Oct 08 14:56:39 2010 +0300 @@ -0,0 +1,63 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#ifndef __HELLOTRACEINTERFACE2_H__ +#define __HELLOTRACEINTERFACE2_H__ + +#include // CBase +#include // TBuf + +const TInt KHelloTraceDllBufferLength = 10; +typedef TBuf THelloTraceDllExampleString; + +class CHelloTraceInterface : public CBase + { +public: + IMPORT_C static CHelloTraceInterface* NewL(); + IMPORT_C static CHelloTraceInterface* NewLC(); + IMPORT_C ~CHelloTraceInterface(); + +public: + IMPORT_C static TVersion Version(); + IMPORT_C const TPtrC String() const; + IMPORT_C void AddCharL(const TChar& aChar); + IMPORT_C void RemoveLast(); + IMPORT_C void ResetString(); + + IMPORT_C static TVersion VersionDup(); + IMPORT_C const TPtrC StringDup() const; + IMPORT_C void AddCharDupL(const TChar& aChar); + IMPORT_C void RemoveLastDup(); + IMPORT_C void ResetStringDup(); + + IMPORT_C static TVersion VersionDup2(); + IMPORT_C const TPtrC StringDup2() const; + IMPORT_C void AddCharDup2L(const TChar& aChar); + IMPORT_C void RemoveLastDup2(); + IMPORT_C void ResetStringDup2(); +private: + CHelloTraceInterface(); + void ConstructL(); + +private: + // data + THelloTraceDllExampleString* iString; + }; + +#endif // __HELLOTRACEINTERFACE2_H__ +