MCE D-Bus Interface  1.10.x
Macros
mode-names.h File Reference

Defines for names of various modes and submodes for Mode Control Entity. More...

Go to the source code of this file.

Macros

#define MCE_RADIO_STATE_MASTER   (1 << 0)
 Master switch; set - radios enabled, unset - radios disabled. More...
 
#define MCE_RADIO_STATE_CELLULAR   (1 << 1)
 Cellular; set - enabled, unset - disabled. More...
 
#define MCE_RADIO_STATE_WLAN   (1 << 2)
 WLAN; set - enabled, unset - disabled. More...
 
#define MCE_RADIO_STATE_BLUETOOTH   (1 << 3)
 Bluetooth; set - enabled, unset - disabled. More...
 
#define MCE_RADIO_STATE_NFC   (1 << 4)
 NFC; set - enabled, unset - disabled. More...
 
#define MCE_RADIO_STATE_FMTX   (1 << 5)
 FM transmitter; set - enabled, unset - disabled. More...
 
#define MCE_CALL_STATE_NONE   "none"
 No ongoing call. More...
 
#define MCE_CALL_STATE_RINGING   "ringing"
 Call ringing. More...
 
#define MCE_CALL_STATE_ACTIVE   "active"
 Call on-going. More...
 
#define MCE_CALL_STATE_SERVICE   "service"
 Service operation on-going use to prevent calls from being initiated; will not prevent emergency calls. More...
 
#define MCE_NORMAL_CALL   "normal"
 Normal call. More...
 
#define MCE_EMERGENCY_CALL   "emergency"
 Emergency call. More...
 
#define MCE_TK_LOCKED   "locked"
 Touchscreen/Keypad locked. More...
 
#define MCE_TK_SILENT_LOCKED   "silent-locked"
 Touchscreen/Keypad silently locked. More...
 
#define MCE_TK_LOCKED_DIM   "locked-dim"
 Touchscreen/Keypad locked with fadeout. More...
 
#define MCE_TK_LOCKED_DELAY   "locked-delay"
 Touchscreen/Keypad locked with delay. More...
 
#define MCE_TK_SILENT_LOCKED_DIM   "silent-locked-dim"
 Touchscreen/Keypad silently locked with fadeout. More...
 
#define MCE_TK_UNLOCKED   "unlocked"
 Touchscreen/Keypad unlocked. More...
 
#define MCE_TK_SILENT_UNLOCKED   "silent-unlocked"
 Touchscreen/Keypad silently unlocked. More...
 
#define MCE_DISPLAY_ON_STRING   "on"
 Display state name for display on. More...
 
#define MCE_DISPLAY_DIM_STRING   "dimmed"
 Display state name for display dim. More...
 
#define MCE_DISPLAY_OFF_STRING   "off"
 Display state name for display off. More...
 
#define MCE_PREVENT_BLANK_ACTIVE_STRING   "active"
 Blank prevent state name for active. More...
 
#define MCE_PREVENT_BLANK_INACTIVE_STRING   "inactive"
 Blank prevent state name for inactive. More...
 
#define MCE_INHIBIT_BLANK_ACTIVE_STRING   "active"
 Blank inhibit state name for active. More...
 
#define MCE_INHIBIT_BLANK_INACTIVE_STRING   "inactive"
 Blank inhibit state name for inactive. More...
 
#define MCE_BLANKING_POLICY_DEFAULT_STRING   "default"
 Default blanking policy active. More...
 
#define MCE_BLANKING_POLICY_NOTIFICATION_STRING   "notification"
 Default blanking policy disabled due to notifications. More...
 
#define MCE_BLANKING_POLICY_ALARM_STRING   "alarm"
 Default blanking policy disabled due to alarm dialog state. More...
 
#define MCE_BLANKING_POLICY_CALL_STRING   "call"
 Default blanking policy disabled due to call state. More...
 
#define MCE_BLANKING_POLICY_LINGER_STRING   "linger"
 Default blanking policy is about to be restored. More...
 
#define MCE_CABC_MODE_OFF   "off"
 CABC name for CABC disabled. More...
 
#define MCE_CABC_MODE_UI   "ui"
 CABC name for UI mode. More...
 
#define MCE_CABC_MODE_STILL_IMAGE   "still-image"
 CABC name for still image mode. More...
 
#define MCE_CABC_MODE_MOVING_IMAGE   "moving-image"
 CABC name for moving image mode. More...
 
#define MCE_POWERKEY_EVENT_SHORT_PRESS   (0u)
 POWERKEY EVENT for single powerkey press. More...
 
#define MCE_POWERKEY_EVENT_LONG_PRESS   (1u)
 POWERKEY EVENT for long powerkey press. More...
 
#define MCE_POWERKEY_EVENT_DOUBLE_PRESS   (2u)
 POWERKEY EVENT for double powerkey press. More...
 

Detailed Description

Defines for names of various modes and submodes for Mode Control Entity.

This file is part of mce-dev

Copyright © 2004-2010 Nokia Corporation and/or its subsidiary(-ies).

Author
David Weinehall david.nosp@m..wei.nosp@m.nehal.nosp@m.l@no.nosp@m.kia.c.nosp@m.om

These headers are free software; you can redistribute them and/or modify them under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

These headers are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with these headers. If not, see http://www.gnu.org/licenses/.

Macro Definition Documentation

#define MCE_BLANKING_POLICY_ALARM_STRING   "alarm"

Default blanking policy disabled due to alarm dialog state.

Since
v1.55.0
#define MCE_BLANKING_POLICY_CALL_STRING   "call"

Default blanking policy disabled due to call state.

Since
v1.55.0
#define MCE_BLANKING_POLICY_DEFAULT_STRING   "default"

Default blanking policy active.

Since
v1.55.0
#define MCE_BLANKING_POLICY_LINGER_STRING   "linger"

Default blanking policy is about to be restored.

Since
v1.55.0
#define MCE_BLANKING_POLICY_NOTIFICATION_STRING   "notification"

Default blanking policy disabled due to notifications.

Since
v1.55.0
#define MCE_CABC_MODE_MOVING_IMAGE   "moving-image"

CABC name for moving image mode.

Since
v1.8.88
#define MCE_CABC_MODE_OFF   "off"

CABC name for CABC disabled.

Since
v1.8.88
#define MCE_CABC_MODE_STILL_IMAGE   "still-image"

CABC name for still image mode.

Since
v1.8.88
#define MCE_CABC_MODE_UI   "ui"

CABC name for UI mode.

Since
v1.8.88
#define MCE_CALL_STATE_ACTIVE   "active"

Call on-going.

Since
v1.8.29
#define MCE_CALL_STATE_NONE   "none"

No ongoing call.

Since
v1.8.4
#define MCE_CALL_STATE_RINGING   "ringing"

Call ringing.

Since
v1.8.29
#define MCE_CALL_STATE_SERVICE   "service"

Service operation on-going use to prevent calls from being initiated; will not prevent emergency calls.

Since
v1.8.29
#define MCE_DISPLAY_DIM_STRING   "dimmed"

Display state name for display dim.

Since
v1.5.21
#define MCE_DISPLAY_OFF_STRING   "off"

Display state name for display off.

Since
v1.5.21
#define MCE_DISPLAY_ON_STRING   "on"

Display state name for display on.

Since
v1.5.21
#define MCE_EMERGENCY_CALL   "emergency"

Emergency call.

Since
v1.8.4
#define MCE_INHIBIT_BLANK_ACTIVE_STRING   "active"

Blank inhibit state name for active.

Since
v1.51.0
#define MCE_INHIBIT_BLANK_INACTIVE_STRING   "inactive"

Blank inhibit state name for inactive.

Since
v1.51.0
#define MCE_NORMAL_CALL   "normal"

Normal call.

Since
v1.8.4
#define MCE_POWERKEY_EVENT_DOUBLE_PRESS   (2u)

POWERKEY EVENT for double powerkey press.

Since
v1.10.54
#define MCE_POWERKEY_EVENT_LONG_PRESS   (1u)

POWERKEY EVENT for long powerkey press.

Since
v1.10.54
#define MCE_POWERKEY_EVENT_SHORT_PRESS   (0u)

POWERKEY EVENT for single powerkey press.

Since
v1.10.54
#define MCE_PREVENT_BLANK_ACTIVE_STRING   "active"

Blank prevent state name for active.

Since
v1.51.0
#define MCE_PREVENT_BLANK_INACTIVE_STRING   "inactive"

Blank prevent state name for inactive.

Since
v1.51.0
#define MCE_RADIO_STATE_BLUETOOTH   (1 << 3)

Bluetooth; set - enabled, unset - disabled.

Since
v1.10.60
#define MCE_RADIO_STATE_CELLULAR   (1 << 1)

Cellular; set - enabled, unset - disabled.

Since
v1.10.60
#define MCE_RADIO_STATE_FMTX   (1 << 5)

FM transmitter; set - enabled, unset - disabled.

Since
v1.10.93
#define MCE_RADIO_STATE_MASTER   (1 << 0)

Master switch; set - radios enabled, unset - radios disabled.

Since
v1.10.60
#define MCE_RADIO_STATE_NFC   (1 << 4)

NFC; set - enabled, unset - disabled.

Since
v1.10.93
#define MCE_RADIO_STATE_WLAN   (1 << 2)

WLAN; set - enabled, unset - disabled.

Since
v1.10.60
#define MCE_TK_LOCKED   "locked"

Touchscreen/Keypad locked.

Since
v1.4.5
#define MCE_TK_LOCKED_DELAY   "locked-delay"

Touchscreen/Keypad locked with delay.

Since
v1.12.2
#define MCE_TK_LOCKED_DIM   "locked-dim"

Touchscreen/Keypad locked with fadeout.

Since
v1.4.15
#define MCE_TK_SILENT_LOCKED   "silent-locked"

Touchscreen/Keypad silently locked.

Since
v1.4.15
#define MCE_TK_SILENT_LOCKED_DIM   "silent-locked-dim"

Touchscreen/Keypad silently locked with fadeout.

Since
v1.4.15
#define MCE_TK_SILENT_UNLOCKED   "silent-unlocked"

Touchscreen/Keypad silently unlocked.

Since
v1.6.33
#define MCE_TK_UNLOCKED   "unlocked"

Touchscreen/Keypad unlocked.

Since
v1.4.5