46 lines
1.1 KiB
C
Executable File
46 lines
1.1 KiB
C
Executable File
/******************************************************************************
|
|
*
|
|
* Copyright (c) 1994-2004 PalmSource, Inc. All rights reserved.
|
|
*
|
|
* File: ConsoleMgr.h
|
|
*
|
|
* Release: eclipse 5 SDK (68K) R4.
|
|
*
|
|
* Description:
|
|
* This module implements simple text in and text out to a console
|
|
* application on the other end of the serial port. It talks through
|
|
* the Serial Link Manager and sends and receives packets of type slkPktTypeConsole.
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#ifndef __CONSOLEMGR_H__
|
|
#define __CONSOLEMGR_H__
|
|
|
|
// Include elementary types
|
|
#include <PalmTypes.h> // Basic types
|
|
#include <CoreTraps.h> // Trap Numbers.
|
|
|
|
|
|
/********************************************************************
|
|
* Console Manager Routines
|
|
********************************************************************/
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
Err ConPutS(const Char *message)
|
|
SYS_TRAP(sysTrapConPutS);
|
|
|
|
Err ConGetS(Char *message, Int32 timeout)
|
|
SYS_TRAP(sysTrapConGetS);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // __CONSOLEMGR_H__
|