API Guide Home
(Online version only)

palmOneCameraSlider.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (c) 2004 palmOne, Inc. or its subsidiaries.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 /**
00006  * @ingroup Camera
00007  *
00008  *
00009  */
00010 
00011 /**
00012  * @file    palmOneCameraSlider.h
00013  * @version 1.0
00014  * @brief Public 68K file for camera slider notification for Zire 71 devices.
00015  *
00016  * Contains the Slider notification and status information.
00017  *
00018  * Any application can register to the notification to be nofity
00019  * when the slider is opened or closed.
00020  * Any application can also get the status of the slider by checking
00021  * the feature.
00022  * This is specific to the camera slider.
00023  * The notifyDetailsP param in SysNotifyParamType is null in the notification.
00024  * Application should check the status of the slider by using the Feature.
00025  *
00026  */
00027 
00028 #ifndef __PalmCameraSlider_H__
00029 #define __PalmCameraSlider_H__
00030 
00031 // Palm OS common definitions
00032 #include <PalmTypes.h>
00033 #include <SystemMgr.h>
00034 
00035 /***********************************************************************
00036  * Slider notification and status
00037  ***********************************************************************/
00038 
00039 /** Version information for the camera slider. */
00040 #define kCamSliderVersion1  sysMakeROMVersion(1, 0, 0, sysROMStageDevelopment, 0)
00041 
00042 /** Version information for the camera slider. */
00043 #define kCamSliderVersion   kCamSliderVersion1
00044 
00045 /** Feature for testing if the slider is open. */
00046 #define kCamSliderFlagsOpened           0x00000001
00047 
00048 /** Camera Slider creator ID. */
00049 #define kCamSliderCreator       'cslP'
00050 
00051 /** Notification creator. */
00052 #define kCamSliderNotifyEvent   kCamSliderCreator
00053 
00054 /** Feature value should be kCamSliderVersion. */
00055 #define kCamSliderFtrVersionNum 0
00056 
00057 /** Feature value should be kCamSliderFlagsOpened or 0. */
00058 #define kCamSliderFtrFlagsNum   1
00059 
00060 #endif // __PalmCameraSlider_H__

Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:06:54 2008 for Palm API Guide