88
|
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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include <QString>
|
|
19 |
#include "cahandlerloader.h"
|
|
20 |
|
|
21 |
/*!
|
|
22 |
\class CaHandlerLoader
|
|
23 |
\ingroup
|
|
24 |
\brief Interface for class of objects providing command handlers.
|
|
25 |
|
|
26 |
\sa CaHandlerLoader
|
|
27 |
*/
|
|
28 |
|
|
29 |
/*!
|
|
30 |
Destructor.
|
|
31 |
*/
|
|
32 |
CaHandlerLoader::~CaHandlerLoader()
|
|
33 |
{
|
|
34 |
}
|
|
35 |
|
98
|
36 |
/*!
|
|
37 |
\fn virtual CaHandler *loadHandler(const QString &entryTypeName,
|
|
38 |
const QString &commandName) = 0;
|
|
39 |
Loads handler implementations appropriate for the requested entry type name and command.
|
88
|
40 |
|
98
|
41 |
The caller takes ownership of the returned pointer.
|
|
42 |
|
|
43 |
\param entryTypeName an entry type name.
|
|
44 |
\param commandName a name of the command to be handled.
|
|
45 |
\retval a pointer to the handler serving the entry type and command if found, NULL otherwise.
|
|
46 |
*/
|