Files
mce-dev/include/mce/mode-names.h
David Weinehall 3dad68183d Added bug#
git-svn-id: https://projects.maemo.org/svn/dsm/mce-dev/trunk@19341 db81c003-b5ea-0310-aa99-ed7f6e1db739
2010-12-17 06:18:08 +00:00

174 lines
3.4 KiB
C

/**
* @file mode-names.h
* Defines for names of various modes and submodes for Mode Control Entity
* <p>
* This file is part of mce-dev
* <p>
* Copyright © 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
* <p>
* @author David Weinehall <david.weinehall@nokia.com>
*
* 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/>.
*/
#ifndef _MCE_MODE_NAMES_H_
#define _MCE_MODE_NAMES_H_
/**
* Master switch; set - radios enabled, unset - radios disabled
*
* @since v1.10.60
*/
#define MCE_RADIO_STATE_MASTER (1 << 0)
/**
* Cellular; set - enabled, unset - disabled
*
* @since v1.10.60
*/
#define MCE_RADIO_STATE_CELLULAR (1 << 1)
/**
* WLAN; set - enabled, unset - disabled
*
* @since v1.10.60
*/
#define MCE_RADIO_STATE_WLAN (1 << 2)
/**
* Bluetooth; set - enabled, unset - disabled
*
* @since v1.10.60
*/
#define MCE_RADIO_STATE_BLUETOOTH (1 << 3)
/**
* No ongoing call
*
* @since v1.8.4
*/
#define MCE_CALL_STATE_NONE "none"
/**
* Call ringing
*
* @since v1.8.29
*/
#define MCE_CALL_STATE_RINGING "ringing"
/**
* Call on-going
*
* @since v1.8.29
*/
#define MCE_CALL_STATE_ACTIVE "active"
/**
* Service operation on-going
* use to prevent calls from being initiated;
* will not prevent emergency calls
*
* @since v1.8.29
*/
#define MCE_CALL_STATE_SERVICE "service"
/**
* Normal call
*
* @since v1.8.4
*/
#define MCE_NORMAL_CALL "normal"
/**
* Emergency call
*
* @since v1.8.4
*/
#define MCE_EMERGENCY_CALL "emergency"
/**
* Touchscreen/Keypad locked
*
* @since v1.4.5
*/
#define MCE_TK_LOCKED "locked"
/**
* Touchscreen/Keypad silently locked
*
* @since v1.4.15
*/
#define MCE_TK_SILENT_LOCKED "silent-locked"
/**
* Touchscreen/Keypad locked with fadeout
*
* @since v1.4.15
*/
#define MCE_TK_LOCKED_DIM "locked-dim"
/**
* Touchscreen/Keypad silently locked with fadeout
*
* @since v1.4.15
*/
#define MCE_TK_SILENT_LOCKED_DIM "silent-locked-dim"
/**
* Touchscreen/Keypad unlocked
*
* @since v1.4.5
*/
#define MCE_TK_UNLOCKED "unlocked"
/**
* Touchscreen/Keypad silently unlocked
*
* @since v1.6.33
*/
#define MCE_TK_SILENT_UNLOCKED "silent-unlocked"
/**
* Display state name for display on
*
* @since v1.5.21
*/
#define MCE_DISPLAY_ON_STRING "on"
/**
* Display state name for display dim
*
* @since v1.5.21
*/
#define MCE_DISPLAY_DIM_STRING "dimmed"
/**
* Display state name for display off
*
* @since v1.5.21
*/
#define MCE_DISPLAY_OFF_STRING "off"
/**
* CABC name for CABC disabled
*
* @since v1.8.88
*/
#define MCE_CABC_MODE_OFF "off"
/**
* CABC name for UI mode
*
* @since v1.8.88
*/
#define MCE_CABC_MODE_UI "ui"
/**
* CABC name for still image mode
*
* @since v1.8.88
*/
#define MCE_CABC_MODE_STILL_IMAGE "still-image"
/**
* CABC name for moving image mode
*
* @since v1.8.88
*/
#define MCE_CABC_MODE_MOVING_IMAGE "moving-image"
#endif /* _MCE_MODE_NAMES_H_ */