PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/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//
17//  GDataCodeSearchFile.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CODESEARCH_SERVICE
21
22#import "GDataObject.h"
23
24// For code search files, like
25//
26//  <gcs:file name="w3c-libwww-5.4.0/Library/src/wwwsys.h"/>
27//
28// See http://code.google.com/apis/codesearch/reference.html
29
30@interface GDataCodeSearchFile : GDataObject <NSCopying, GDataExtension> {
31  NSString *name_;
32}
33
34+ (id)fileWithName:(NSString *)name;
35
36- (id)initWithXMLElement:(NSXMLElement *)element
37                  parent:(GDataObject *)parent;
38
39- (NSXMLElement *)XMLElement;
40
41- (NSString *)name;
42- (void)setName:(NSString *)str;
43
44@end
45
46#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CODESEARCH_SERVICE