equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2008 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: Interface for requesting data from the provider |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef I_MULMODELPROVIDER_H |
|
20 #define I_MULMODELPROVIDER_H |
|
21 |
|
22 namespace Alf |
|
23 { |
|
24 |
|
25 // Forward Declarations |
|
26 class MulVisualItem; |
|
27 class MulDataPath; |
|
28 |
|
29 /*! @class IMulModelProvider |
|
30 * @brief An interface for requesting the data provider for data. |
|
31 * |
|
32 * Application should implement this interface inorder to become a data provider. |
|
33 * Data model uses this interface to ask the application for data. |
|
34 * |
|
35 */ |
|
36 class IMulModelProvider |
|
37 { |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Request the data provider for updating data in the model. |
|
42 * |
|
43 * @param aIndex Index at which the item request has been initiated. |
|
44 * @param aCount Number of items requested. |
|
45 * @param aPath Path of parent item in the data hierarchy. |
|
46 */ |
|
47 virtual void ProvideData( int aIndex, int aCount, MulDataPath aPath ) = 0; |
|
48 |
|
49 }; |
|
50 |
|
51 |
|
52 } // namespace Alf |
|
53 |
|
54 #endif // I_MULMODELPROVIDER_H |
|
55 |
|
56 //End of file |
|
57 |