palm-os-sdk/sdk-5r4/include/Core/UI/SelTime.h
2018-08-30 15:18:26 +01:00

55 lines
1.4 KiB
C
Executable File

/******************************************************************************
*
* Copyright (c) 1994-2004 PalmSource, Inc. All rights reserved.
*
* File: SelTime.h
*
* Release: eclipse 5 SDK (68K) R4.
*
* Description:
* This file defines select time structures and routines.
*
*****************************************************************************/
#ifndef __SELTIME_H__
#define __SELTIME_H__
#include <PalmTypes.h>
#include <CoreTraps.h>
#include <DateTime.h>
//-------------------------------------------------------------------
// structures
//-------------------------------------------------------------------
typedef struct {
UInt8 hours;
UInt8 minutes;
UInt8 seconds;
UInt8 reserved;
} HMSTime;
#ifdef __cplusplus
extern "C" {
#endif
// This is slated to be deleted in the next version.
extern Boolean SelectTimeV33 (TimeType *startTimeP, TimeType *EndTimeP,
Boolean untimed, const Char *titleP, Int16 startOfDay)
SYS_TRAP(sysTrapSelectTimeV33);
extern Boolean SelectTime (TimeType *startTimeP, TimeType *EndTimeP,
Boolean untimed, const Char *titleP, Int16 startOfDay, Int16 endOfDay,
Int16 startOfDisplay)
SYS_TRAP(sysTrapSelectTime);
extern Boolean SelectOneTime(Int16 *hour, Int16 *minute, const Char *titleP)
SYS_TRAP(sysTrapSelectOneTime);
#ifdef __cplusplus
}
#endif
#endif // __SELTIME_H__