diff -r 65e91466a14b -r b7e5ed8c1342 omasuplasnconverterstubimpl/inc/asnimplementation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omasuplasnconverterstubimpl/inc/asnimplementation.h Tue Sep 07 08:19:48 2010 +0300 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2009 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: ASN plugin +* +*/ + +// This file defines the API for AsnImplementation.dll + +#ifndef __ASNIMPLEMENTATION_H__ +#define __ASNIMPLEMENTATION_H__ + +// Include Files + +#include // CBase +#include // TBuf +#include + +// Constants + +const TInt KAsnImplementationBufferLength = 15; +typedef TBuf TAsnImplementationExampleString; + +// Class Definitions + +class CAsnImplementation : public CBase + { +public: + // new functions + IMPORT_C static CAsnImplementation* NewL(); + IMPORT_C static CAsnImplementation* NewLC(); + IMPORT_C ~CAsnImplementation(); + +public: + // new functions, example API + IMPORT_C TVersion Version() const; + IMPORT_C void ExampleFuncAddCharL(const TChar& aChar); + IMPORT_C void ExampleFuncRemoveLast(); + IMPORT_C const TPtrC ExampleFuncString() const; + +private: + // new functions + CAsnImplementation(); + void ConstructL(); + +private: + // data + TAsnImplementationExampleString* iString; + }; + +#endif // __ASNIMPLEMENTATION_H__ +