/Source/externals/GData/Source/ACL/GDataServiceACL.h

http://google-email-uploader-mac.googlecode.com/ · C++ Header · 54 lines · 24 code · 11 blank · 19 comment · 3 complexity · 7d9c193ad52e6dabf6d772ed77417b77 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. // GDataServiceACL.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ACLS \
  19. || GDATA_INCLUDE_CALENDAR_SERVICE || GDATA_INCLUDE_DOCS_SERVICE
  20. #import "GDataServiceGoogle.h"
  21. @class GDataEntryACL;
  22. // GDataServiceGoogle is the version of the service class that supports
  23. // Google authentication.
  24. @interface GDataServiceGoogle (GDataServiceACLAdditions)
  25. - (GDataServiceTicket *)fetchACLFeedWithURL:(NSURL *)feedURL
  26. delegate:(id)delegate
  27. didFinishSelector:(SEL)finishedSelector;
  28. - (GDataServiceTicket *)fetchACLEntryByInsertingEntry:(GDataEntryACL *)entryToInsert
  29. forFeedURL:(NSURL *)feedURL
  30. delegate:(id)delegate
  31. didFinishSelector:(SEL)finishedSelector;
  32. - (GDataServiceTicket *)fetchACLEntryByUpdatingEntry:(GDataEntryACL *)entryToUpdate
  33. delegate:(id)delegate
  34. didFinishSelector:(SEL)finishedSelector;
  35. - (GDataServiceTicket *)fetchACLEntryByUpdatingEntry:(GDataEntryACL *)entryToUpdate
  36. forEntryURL:(NSURL *)entryURL
  37. delegate:(id)delegate
  38. didFinishSelector:(SEL)finishedSelector;
  39. - (GDataServiceTicket *)deleteACLEntry:(GDataEntryACL *)entryToDelete
  40. delegate:(id)delegate
  41. didFinishSelector:(SEL)finishedSelector;
  42. @end
  43. #endif // !GDATA_REQUIRE_SERVICE_INCLUDE || GDATA_INCLUDE_*