/Source/externals/GData/Source/Elements/GDataAtomPubControl.h

http://google-email-uploader-mac.googlecode.com/ · C++ Header · 31 lines · 7 code · 5 blank · 19 comment · 0 complexity · 140d06c38656fa30d3b740b1ddfcbc26 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. // GDataAtomPubControl.h
  17. //
  18. #import "GDataObject.h"
  19. // For app:control, like:
  20. // <app:control><app:draft>yes</app:draft></app:control>
  21. @interface GDataAtomPubControl : GDataObject <GDataExtension>
  22. + (GDataAtomPubControl *)atomPubControl;
  23. + (GDataAtomPubControl *)atomPubControlWithIsDraft:(BOOL)isDraft;
  24. - (BOOL)isDraft;
  25. - (void)setIsDraft:(BOOL)flag;
  26. @end