/core/externals/update-engine/externals/gdata-objectivec-client/Source/Introspection/GDataAtomServiceDocument.h

http://macfuse.googlecode.com/ · C++ Header · 45 lines · 9 code · 9 blank · 27 comment · 1 complexity · a191597f673ffff6b4b08efe04cb903b 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. // GDataAtomServiceDocument.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SERVICE_INTROSPECTION
  19. // app:workspace, per http://tools.ietf.org/html/rfc5023#section-8.3.2
  20. //
  21. // For example,
  22. // <workspace>
  23. // <atom:title>Main Site</atom:title>
  24. // <collection href="http://example.org/blog/main" >
  25. // <atom:title>My Blog Entries</atom:title>
  26. // <categories href="http://example.com/cats/forMain.cats" />
  27. // </collection>
  28. // </workspace>
  29. #import "GDataObject.h"
  30. @class GDataAtomWorkspace;
  31. @interface GDataAtomServiceDocument : GDataObject
  32. - (NSArray *)workspaces;
  33. - (void)setWorkspaces:(NSArray *)array;
  34. - (GDataAtomWorkspace *)primaryWorkspace; // returns the first workspace, or nil
  35. @end
  36. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SERVICE_INTROSPECTION