palm-os-sdk/handera-105/examples/Mail/Src/MailMessage.h
Tavisco 1c2f65cd40 Renamed handera-sdk-105 to handera-105
Its obviously a SDK, no need to repeat it :P
2023-11-16 22:06:58 -03:00

66 lines
1.5 KiB
C

/******************************************************************************
*
* Copyright (c) 1996-1999 Palm, Inc. or its subsidiaries.
* All rights reserved.
*
* File: MailMessage.h
*
* Release: Palm OS SDK 4.0 (63220)
*
* Description:
* This file defines the massage viewing structures and functions of
* the msg application.
*
* History:
* June 20, 1996 Created by Art Lamb
*
*****************************************************************************/
// Used by message selection routions.
typedef enum {
msgSelectSentToLabel,
msgSelectSentTo,
msgSelectToLabel,
msgSelectTo,
msgSelectFromLabel,
msgSelectFrom,
msgSelectCCLabel,
msgSelectCC,
msgSelectSubjectLabel,
msgSelectSubject,
msgSelectDateLabel,
msgSelectDate,
msgSelectBlankLine,
msgSelectBody,
msgSelectNone } MsgSelectFieldType;
typedef enum {
msgFieldSentTo,
msgFieldTo,
msgFieldFrom,
msgFieldSubject,
msgFieldCC,
msgFieldDate,
msgFieldBlankLine,
msgFieldBody } MsgFieldType;
extern void MsgDraw (void);
extern void MsgErase (void);
extern void MsgGetScrollValues (UInt16 * textHeightP, UInt16 * pageHeightP, UInt16 * topLineP);
extern void MsgScroll (Int16 linesToScroll, WinDirectionType direction);
extern Boolean MsgSearch (MailDBRecordPtr recordP, Char * strToFind, UInt16 * fieldNumP, UInt16 * posP, UInt16 *matchLenP);
extern void MsgSelect (Int16 x, Int16 y);
extern void MsgCopy (void);
extern void MsgSelectAll (void);
extern void MsgChangeFont (void);