2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Location triggering related system settings
19 #ifndef LBTTRIGGERINGSYSTEMSETTINGS_H
20 #define LBTTRIGGERINGSYSTEMSETTINGS_H
22 #include <lbtcommon.h>
25 * Structure for location triggering related system settings.
31 class TLbtTriggeringSystemSettings
35 * Type of system setting class.
40 ETypeSystemSettings = 1,
41 ///Management system settings
42 ETypeManagementSystemSettings = 2
46 * Default constructor.
48 IMPORT_C TLbtTriggeringSystemSettings();
51 * Gets the type of system setting class.
53 IMPORT_C virtual TType Type();
56 * Returns minimum size of trigger area.
58 * When creating a trigger with a circular geographical
59 * trigger area, the radius of the trigger area must be
60 * greater than this setting.
62 * This function returns zero if the minimum trigger area
65 * @return The minimum size of trigger area. In meters.
67 IMPORT_C TReal MinimumTriggerAreaSize() const;
70 * Sets the minum size of trigger area. This is for internal use only.
72 * @panic LocTriggering ELbtErrArgument If aSize is negative.
73 * @param aSize The minimum size of trigger area. In meters.
75 IMPORT_C void SetMinimumTriggerAreaSize(
79 * Returns the triggering mechanism state.
81 * This function returns ETriggeringMechanismOn if
82 * the triggering mechanism state is not set.
84 * @return The triggering mechanism state.
86 IMPORT_C TLbtTriggeringMechanismState
87 TriggeringMechanismState() const;
90 * Sets the triggering mechanism state. This is for internal use only.
92 * @param aState The triggering mechanism state.
94 IMPORT_C void SetTriggeringMechanismState(
95 TLbtTriggeringMechanismState aState );
99 * Type of the setting class
105 * The minimum size of trigger area.
107 TReal iMinimumTriggerAreaSize;
110 * Triggering mechanism state.
112 TLbtTriggeringMechanismState iTriggeringState;