/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Calendar/GDataEntryMessage.h

http://macfuse.googlecode.com/ · C++ Header · 67 lines · 35 code · 15 blank · 17 comment · 1 complexity · eae9693171e723c8ffc5572ef766e16a MD5 · raw file

  1. /* Copyright (c) 2007 Google Inc.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. //
  16. // GDataEntryMessage.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
  19. #import "GDataEntryBase.h"
  20. #import "GDataRating.h"
  21. #import "GDataWhen.h"
  22. #import "GDataGeoPt.h"
  23. #import "GDataWho.h"
  24. #undef _EXTERN
  25. #undef _INITIALIZE_AS
  26. #ifdef GDATAENTRYMESSAGE_DEFINE_GLOBALS
  27. #define _EXTERN
  28. #define _INITIALIZE_AS(x) =x
  29. #else
  30. #define _EXTERN GDATA_EXTERN
  31. #define _INITIALIZE_AS(x)
  32. #endif
  33. _EXTERN NSString* const kGDataMessage _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message");
  34. _EXTERN NSString* const kGDataMessageStarred _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.starred");
  35. _EXTERN NSString* const kGDataMessageUnread _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.unread");
  36. _EXTERN NSString* const kGDataMessageChat _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.chat");
  37. _EXTERN NSString* const kGDataMessageSpam _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.spam");
  38. _EXTERN NSString* const kGDataMessageSent _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.sent");
  39. _EXTERN NSString* const kGDataMessageInbox _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.inbox");
  40. @interface GDataEntryMessage : GDataEntryBase {
  41. }
  42. - (GDataRating *)rating;
  43. - (void)setRating:(GDataRating *)obj;
  44. - (GDataWhen *)time;
  45. - (void)setTime:(GDataWhen *)obj;
  46. - (GDataGeoPt *)geoPt;
  47. - (void)setGeoPt:(GDataGeoPt *)obj;
  48. - (NSArray *)participants;
  49. - (void)setParticipants:(NSArray *)array;
  50. - (void)addParticipant:(GDataWho *)obj;
  51. @end
  52. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE