vcaltmp.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /***************************************************************************
  2. (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
  3. Business Machines Corporation and Siemens Rolm Communications Inc.
  4. For purposes of this license notice, the term Licensors shall mean,
  5. collectively, Apple Computer, Inc., AT&T Corp., International
  6. Business Machines Corporation and Siemens Rolm Communications Inc.
  7. The term Licensor shall mean any of the Licensors.
  8. Subject to acceptance of the following conditions, permission is hereby
  9. granted by Licensors without the need for written agreement and without
  10. license or royalty fees, to use, copy, modify and distribute this
  11. software for any purpose.
  12. The above copyright notice and the following four paragraphs must be
  13. reproduced in all copies of this software and any software including
  14. this software.
  15. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
  16. ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
  17. MODIFICATIONS.
  18. IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
  19. INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
  20. OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  21. DAMAGE.
  22. EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
  23. INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
  24. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  25. PURPOSE.
  26. The software is provided with RESTRICTED RIGHTS. Use, duplication, or
  27. disclosure by the government are subject to restrictions set forth in
  28. DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
  29. ***************************************************************************/
  30. #ifndef VCALTMP_H
  31. #define VCALTMP_H
  32. #include "libical_vcal_export.h"
  33. #include "vcc.h"
  34. #if defined(__CPLUSPLUS__) || defined(__cplusplus)
  35. extern "C"
  36. {
  37. #endif
  38. LIBICAL_VCAL_EXPORT VObject *vcsCreateVCal(char *date_created,
  39. char *location,
  40. char *product_id, char *time_zone, char *version);
  41. LIBICAL_VCAL_EXPORT VObject *vcsAddEvent(VObject *vcal,
  42. char *start_date_time,
  43. char *end_date_time,
  44. char *description,
  45. char *summary,
  46. char *categories,
  47. char *classification,
  48. char *status, char *transparency, char *uid,
  49. char *url);
  50. LIBICAL_VCAL_EXPORT VObject *vcsAddTodo(VObject *vcal,
  51. char *start_date_time,
  52. char *due_date_time,
  53. char *date_time_complete,
  54. char *description,
  55. char *summary,
  56. char *priority,
  57. char *classification, char *status, char *uid,
  58. char *url);
  59. LIBICAL_VCAL_EXPORT VObject *vcsAddAAlarm(VObject *vevent,
  60. char *run_time,
  61. char *snooze_time,
  62. char *repeat_count, char *audio_content);
  63. LIBICAL_VCAL_EXPORT VObject *vcsAddMAlarm(VObject *vevent,
  64. char *run_time,
  65. char *snooze_time,
  66. char *repeat_count, char *email_address, char *note);
  67. LIBICAL_VCAL_EXPORT VObject *vcsAddDAlarm(VObject *vevent,
  68. char *run_time,
  69. char *snooze_time,
  70. char *repeat_count, char *display_string);
  71. LIBICAL_VCAL_EXPORT VObject *vcsAddPAlarm(VObject *vevent,
  72. char *run_time,
  73. char *snooze_time,
  74. char *repeat_count, char *procedure_name);
  75. #if defined(__CPLUSPLUS__) || defined(__cplusplus)
  76. }
  77. #endif
  78. #endif /* VCALTMP_H */