PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/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//
17//  GDataEntryMessage.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
21
22#import "GDataEntryBase.h"
23
24#import "GDataRating.h"
25#import "GDataWhen.h"
26#import "GDataGeoPt.h"
27#import "GDataWho.h"
28
29#undef _EXTERN
30#undef _INITIALIZE_AS
31#ifdef GDATAENTRYMESSAGE_DEFINE_GLOBALS
32#define _EXTERN 
33#define _INITIALIZE_AS(x) =x
34#else
35#define _EXTERN GDATA_EXTERN
36#define _INITIALIZE_AS(x)
37#endif
38
39_EXTERN NSString* const kGDataMessage _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message");
40
41_EXTERN NSString* const kGDataMessageStarred _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.starred");
42_EXTERN NSString* const kGDataMessageUnread _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.unread");
43_EXTERN NSString* const kGDataMessageChat _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.chat");
44_EXTERN NSString* const kGDataMessageSpam _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.spam");
45_EXTERN NSString* const kGDataMessageSent _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.sent");
46_EXTERN NSString* const kGDataMessageInbox _INITIALIZE_AS(@"http://schemas.google.com/g/2005#message.inbox");
47
48
49@interface GDataEntryMessage : GDataEntryBase {
50}
51
52- (GDataRating *)rating;
53- (void)setRating:(GDataRating *)obj;
54
55- (GDataWhen *)time;
56- (void)setTime:(GDataWhen *)obj;
57
58- (GDataGeoPt *)geoPt;
59- (void)setGeoPt:(GDataGeoPt *)obj;
60
61- (NSArray *)participants;
62- (void)setParticipants:(NSArray *)array;
63- (void)addParticipant:(GDataWho *)obj;
64
65@end
66
67#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE