/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. // GDataVolumeReadingPosition.h
  17. //
  18. // reading position, like
  19. // <gbs:readingPosition action="NextPage"
  20. // application="Sony Reader"
  21. // value="GBS.25.w.2.9.15"
  22. // time="2007-07-16T00:00:00" />
  23. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE
  24. #import "GDataObject.h"
  25. @interface GDataVolumeReadingPosition : GDataObject <GDataExtension>
  26. + (GDataVolumeReadingPosition *)positionWithAction:(NSString *)action
  27. applicationName:(NSString *)name
  28. time:(GDataDateTime *)dateTime
  29. value:(NSString *)value;
  30. - (NSString *)action;
  31. - (void)setAction:(NSString *)str;
  32. - (NSString *)applicationName;
  33. - (void)setApplicationName:(NSString *)str;
  34. - (NSString *)value;
  35. - (void)setValue:(NSString *)str;
  36. - (GDataDateTime *)positionTime;
  37. - (void)setPositionTime:(GDataDateTime *)dateTime;
  38. @end
  39. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE