diff -r d27dfa8884ad -r da2cedce4920 analyzetool/kerneleventhandler/inc/analyzetooldevice.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/analyzetool/kerneleventhandler/inc/analyzetooldevice.h Tue May 25 14:22:58 2010 +0300 @@ -0,0 +1,68 @@ +/* +* 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: Declaration of the class DAnalyzeToolDevice. +* +*/ + + +#ifndef __ANALYZETOOLEVICE_H__ +#define __ANALYZETOOLEVICE_H__ + +// INCLUDES +#include +#include + +// CLASS DECLARATION + +/** +* The implementation of the abstract base class for an LDD factory object. +*/ + +class DAnalyzeToolDevice : public DLogicalDevice + { + public: + + /** + * C++ default constructor. + */ + DAnalyzeToolDevice(); + + public: // from DLogicalDevice + + /** + * Second stage constructor. + @return KErrNone or standard error code. + */ + virtual TInt Install(); + + /** + * Gets the driver's capabilities. + @param aDes A user-side descriptor into which capabilities + information is to be written. + */ + virtual void GetCaps( TDes8& aDes ) const; + + /** + * Called by the kernel's device driver framework to + * create a Logical Channel. + @param aChannel Set to point to the created Logical Channel + @return KErrNone or standard error code. + */ + virtual TInt Create( DLogicalChannelBase*& aChannel ); + }; + + +#endif // __ANALYZETOOLEVICE_H__ + +// End of File