20
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Declaration of the class DAnalyzeToolDevice.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef __ANALYZETOOLEVICE_H__
|
|
20 |
#define __ANALYZETOOLEVICE_H__
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <analyzetool/analyzetool.h>
|
|
24 |
#include <kernel/kernel.h>
|
|
25 |
|
|
26 |
// CLASS DECLARATION
|
|
27 |
|
|
28 |
/**
|
|
29 |
* The implementation of the abstract base class for an LDD factory object.
|
|
30 |
*/
|
|
31 |
|
|
32 |
class DAnalyzeToolDevice : public DLogicalDevice
|
|
33 |
{
|
|
34 |
public:
|
|
35 |
|
|
36 |
/**
|
|
37 |
* C++ default constructor.
|
|
38 |
*/
|
|
39 |
DAnalyzeToolDevice();
|
|
40 |
|
|
41 |
public: // from DLogicalDevice
|
|
42 |
|
|
43 |
/**
|
|
44 |
* Second stage constructor.
|
|
45 |
@return KErrNone or standard error code.
|
|
46 |
*/
|
|
47 |
virtual TInt Install();
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Gets the driver's capabilities.
|
|
51 |
@param aDes A user-side descriptor into which capabilities
|
|
52 |
information is to be written.
|
|
53 |
*/
|
|
54 |
virtual void GetCaps( TDes8& aDes ) const;
|
|
55 |
|
|
56 |
/**
|
|
57 |
* Called by the kernel's device driver framework to
|
|
58 |
* create a Logical Channel.
|
|
59 |
@param aChannel Set to point to the created Logical Channel
|
|
60 |
@return KErrNone or standard error code.
|
|
61 |
*/
|
|
62 |
virtual TInt Create( DLogicalChannelBase*& aChannel );
|
|
63 |
};
|
|
64 |
|
|
65 |
|
|
66 |
#endif // __ANALYZETOOLEVICE_H__
|
|
67 |
|
|
68 |
// End of File
|