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

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Introspection/GDataAtomServiceDocument.h

http://macfuse.googlecode.com/
C++ Header | 45 lines | 9 code | 9 blank | 27 comment | 1 complexity | a191597f673ffff6b4b08efe04cb903b 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//
17//  GDataAtomServiceDocument.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SERVICE_INTROSPECTION
21
22// app:workspace, per http://tools.ietf.org/html/rfc5023#section-8.3.2
23//
24// For example,
25//  <workspace>
26//    <atom:title>Main Site</atom:title>
27//    <collection href="http://example.org/blog/main" >
28//      <atom:title>My Blog Entries</atom:title>
29//      <categories href="http://example.com/cats/forMain.cats" />
30//    </collection>
31//  </workspace>
32
33#import "GDataObject.h"
34
35@class GDataAtomWorkspace;
36
37@interface GDataAtomServiceDocument : GDataObject
38
39- (NSArray *)workspaces;
40- (void)setWorkspaces:(NSArray *)array;
41- (GDataAtomWorkspace *)primaryWorkspace; // returns the first workspace, or nil
42
43@end
44
45#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SERVICE_INTROSPECTION