home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / progect-src-0.20.tar.gz / progect-src-0.20.tar / progect-0.20 / ToDo.h < prev    next >
C/C++ Source or Header  |  2000-10-26  |  2KB  |  64 lines

  1. /******************************************************************************
  2.  *
  3.  * Copyright (c) 1997-1999 Palm Computing, Inc. or its subsidiaries.
  4.  * All rights reserved.
  5.  *
  6.  * File: ToDo.h
  7.  *
  8.  * Description:
  9.  *        Header for To Do.
  10.  *
  11.  * History:
  12.  *       8/28/97  roger - Created
  13.  *        10/4/99    jmp - Added SetDBBackupBit() prototype.
  14.  *
  15.  *****************************************************************************/
  16.  
  17. #include <IMCUtils.h>
  18. #include <ExgMgr.h>
  19.  
  20. #include "ToDoDB.h"
  21.  
  22. /***********************************************************************
  23.  *
  24.  *    Internal Constants
  25.  *
  26.  ***********************************************************************/
  27. #define toDoVersionNum                    3
  28. #define toDoPrefsVersionNum            3
  29. #define todoPrefID                        0x00
  30. #define toDoDBName                        "ToDoDB"
  31. #define toDoDBType                        'DATA'
  32.  
  33.  
  34. /************************************************************
  35.  * Function Prototypes
  36.  *************************************************************/
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40.  
  41.  
  42. // From ToDoTransfer.c
  43. typedef Err ImportVEventF(DmOpenRef dbP, void * inputStream, GetCharF inputFunc, 
  44.     Boolean obeyUniqueIDs, Boolean beginAlreadyRead);
  45.  
  46.  
  47. extern void ToDoSendRecord (DmOpenRef dbP, Int16 recordNum);
  48. extern void ToDoSendCategory (DmOpenRef dbP, UInt16 categoryNum);
  49. extern Err ToDoReceiveData(DmOpenRef dbP, ExgSocketPtr exgSocketP);
  50. extern Boolean ToDoImportVToDo(DmOpenRef dbP, void * inputStream, GetCharF inputFunc, 
  51.     Boolean obeyUniqueIDs, Boolean beginAlreadyRead, UInt32 * uniqueIDP);
  52. extern Boolean ToDoImportVCal(DmOpenRef dbP, void * inputStream, GetCharF inputFunc, 
  53.     Boolean obeyUniqueIDs, Boolean beginAlreadyRead, ImportVEventF vEventFunc);
  54. extern void ToDoExportVCal(DmOpenRef dbP, Int16 index, ToDoDBRecordPtr recordP, 
  55.     void * outputStream, PutStringF outputFunc, Boolean writeUniqueIDs);
  56.     
  57. extern void SetDBBackupBit(DmOpenRef dbP);
  58.  
  59.  
  60. #ifdef __cplusplus 
  61. }
  62. #endif
  63.  
  64.