/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/CodeSearch/GDataCodeSearchFile.h

http://macfuse.googlecode.com/ · C++ Header · 46 lines · 13 code · 11 blank · 22 comment · 1 complexity · 79d536349b9d160e5a273c71a44d4107 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. // GDataCodeSearchFile.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CODESEARCH_SERVICE
  19. #import "GDataObject.h"
  20. // For code search files, like
  21. //
  22. // <gcs:file name="w3c-libwww-5.4.0/Library/src/wwwsys.h"/>
  23. //
  24. // See http://code.google.com/apis/codesearch/reference.html
  25. @interface GDataCodeSearchFile : GDataObject <NSCopying, GDataExtension> {
  26. NSString *name_;
  27. }
  28. + (id)fileWithName:(NSString *)name;
  29. - (id)initWithXMLElement:(NSXMLElement *)element
  30. parent:(GDataObject *)parent;
  31. - (NSXMLElement *)XMLElement;
  32. - (NSString *)name;
  33. - (void)setName:(NSString *)str;
  34. @end
  35. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CODESEARCH_SERVICE