56
|
1 |
/*
|
|
2 |
* Copyright (c) 2006 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: This header file declares the abstract factory class for
|
|
15 |
* trigger store implementations
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef LBT_TRIGGERSTORE_FACTORY_H
|
|
21 |
#define LBT_TRIGGERSTORE_FACTORY_H
|
|
22 |
|
|
23 |
#include <e32cmn.h>
|
|
24 |
|
|
25 |
/* Interface that defines the services of a Trigger Store */
|
|
26 |
class MLbtTriggerStore;
|
|
27 |
|
|
28 |
|
|
29 |
/**
|
|
30 |
* This class provides an abstract factory for all the trigger store managers
|
|
31 |
*
|
|
32 |
*/
|
|
33 |
class LbtTriggerStoreFactory
|
|
34 |
{
|
|
35 |
public:
|
|
36 |
/**
|
|
37 |
* This method returns the number of trigger stores that are supported.
|
|
38 |
*
|
|
39 |
* @return the number of stores currently available.
|
|
40 |
*/
|
|
41 |
static TInt NumStores();
|
|
42 |
|
|
43 |
/**
|
|
44 |
* Create and obtain instances of all the trigger stores in the system.
|
|
45 |
*
|
|
46 |
* @return a pointer array containing an instance of each trigger store.
|
|
47 |
*/
|
|
48 |
static void CreateTriggerStoresL(RPointerArray<MLbtTriggerStore>& aStoreArray);
|
|
49 |
};
|
|
50 |
|
|
51 |
#endif // LBT_TRIGGERSTORE_FACTORY_H
|