/Source/externals/GData/Source/Elements/GDataTextConstruct.h

http://google-email-uploader-mac.googlecode.com/ · C++ Header · 38 lines · 11 code · 7 blank · 20 comment · 0 complexity · b17ba8b4195832a92a602de0b48eb96e MD5 · raw file

  1. /* Copyright (c) 2007-2008 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. // GDataTextConstruct.h
  17. //
  18. #import "GDataObject.h"
  19. // For typed text, like: <title type="text">Event title</title>
  20. //
  21. // type can be text, text/plain, html, text/html, xhtml, or other things
  22. @interface GDataTextConstruct : GDataObject {
  23. }
  24. + (id)textConstructWithString:(NSString *)str;
  25. - (NSString *)stringValue;
  26. - (void)setStringValue:(NSString *)str;
  27. - (NSString *)lang;
  28. - (void)setLang:(NSString *)str;
  29. - (NSString *)type;
  30. - (void)setType:(NSString *)str;
  31. @end