PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Books/GDataVolumeReadingPosition.h

http://macfuse.googlecode.com/
C++ Header | 51 lines | 17 code | 12 blank | 22 comment | 1 complexity | da73100ebedf79d57809ddadf48a2a94 MD5 | raw file
 1/* Copyright (c) 2009 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//  GDataVolumeReadingPosition.h
18//
19
20// reading position, like
21//   <gbs:readingPosition action="NextPage"
22//                        application="Sony Reader"
23//                        value="GBS.25.w.2.9.15"
24//                        time="2007-07-16T00:00:00" />
25
26#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE
27
28#import "GDataObject.h"
29
30@interface GDataVolumeReadingPosition : GDataObject <GDataExtension>
31
32+ (GDataVolumeReadingPosition *)positionWithAction:(NSString *)action
33                                   applicationName:(NSString *)name
34                                              time:(GDataDateTime *)dateTime
35                                             value:(NSString *)value;
36
37- (NSString *)action;
38- (void)setAction:(NSString *)str;
39
40- (NSString *)applicationName;
41- (void)setApplicationName:(NSString *)str;
42
43- (NSString *)value;
44- (void)setValue:(NSString *)str;
45
46- (GDataDateTime *)positionTime;
47- (void)setPositionTime:(GDataDateTime *)dateTime;
48
49@end
50
51#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE