|
API Guide Home (Online version only) |
![]() |
00001 /****************************************************************************** 00002 * Copyright (c) 2004 PalmOne, Inc. or its subsidiaries. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 00006 /** 00007 * @file Slider.h 00008 * @version 1.0 00009 * @date 04/03/2002 00010 * 00011 * Header file for all Palm Devices 00012 * Contains constants & structs necessary to access slider saved pref. 00013 * 00014 * @author George Puckett 00015 * <hr> 00016 */ 00017 00018 #ifndef __SLIDER_H__ 00019 #define __SLIDER_H__ 00020 00021 00022 #include <PalmTypes.h> 00023 00024 00025 /** 00026 * Creator type for Power Panel 00027 */ 00028 00029 #define sysFileCPower 'Powr' 00030 00031 /** 00032 * notification sent to inform HAL that the preferences need to be updated 00033 */ 00034 00035 #define SLIDER_PREF_CHANGED_NOTIFY_TYPE 'spcn' 00036 00037 /** App preferences */ 00038 00039 #define appPrefsVersion 0 00040 #define appPrefsID 1 00041 00042 00043 /*********************************************************************** 00044 * Types 00045 ***********************************************************************/ 00046 00047 /** App Preferences */ 00048 typedef struct 00049 { 00050 /** non-zero if the device should auto-on when opened */ 00051 UInt8 autoOnWhenOpened; 00052 /** non-zero if the device should auto-off when closed */ 00053 UInt8 autoOffWhenClosed; 00054 } PowerPanelAppPrefs; 00055 00056 #endif /* __SLIDER_H__ */
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:55 2008 for Palm API Guide |