|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This file defines the internal interface to the library that manages the list |
|
15 // of remote hosts used by the LBS subsystem. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalAll |
|
22 @deprecated |
|
23 */ |
|
24 |
|
25 #ifndef LBSHOSTSETTINGSIMPL_H_ |
|
26 #define LBSHOSTSETTINGSIMPL_H_ |
|
27 |
|
28 #include <e32std.h> |
|
29 #include <lbs/lbshostsettingsclasstypes.h> |
|
30 #include <e32cmn.h> |
|
31 |
|
32 class MLbsHostSettingsStoreObserver; |
|
33 |
|
34 class MLbsHostSettingsStoreImpl |
|
35 { |
|
36 public: |
|
37 virtual TInt CreateHostSettings(const TLbsHostSettingsBase& aSettings, TLbsHostCreatorId aCreatorId, TLbsHostSettingsId& aSettingsId) = 0; |
|
38 virtual TInt UpdateHostSettings(TLbsHostSettingsId aSettingsId, const TLbsHostSettingsBase& aSettings) =0; |
|
39 virtual TInt GetHostSettings(TLbsHostSettingsId aSettingsId, TLbsHostSettingsBase& aSettings) const =0; |
|
40 virtual TInt RewindHostSettings() =0; |
|
41 virtual TInt GetNextHostSettings(TLbsHostSettingsBase& aSettings, TLbsHostSettingsId& aSettingsId) =0; |
|
42 virtual TInt GetNextHostSettingsByCreator(TLbsHostCreatorId aCreator, TLbsHostSettingsBase& aSettings, TLbsHostSettingsId& aSettingsId) =0; |
|
43 virtual TInt SetDefaultHostSettings(TLbsHostSettingsId aSettingsId) =0; |
|
44 virtual TInt GetDefaultHostSettings(TLbsHostSettingsBase& aSettings, TLbsHostSettingsId& aSettingsId) const =0; |
|
45 virtual TInt DeleteHostSettings(TLbsHostSettingsId aSettingsId) =0; |
|
46 }; |
|
47 |
|
48 |
|
49 #endif // LBSHOSTSETTINGSIMPL_H_ |
|
50 |
|
51 |