PageRenderTime 35ms CodeModel.GetById 25ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/externals/GData/Source/Clients/Docs/GDataFeedDocList.m

http://google-email-uploader-mac.googlecode.com/
Objective C | 49 lines | 22 code | 10 blank | 17 comment | 1 complexity | fb8531089708eeea2c461f7515faf213 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//  GDataFeedDocList.m
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE
21
22#import "GDataFeedDocList.h"
23#import "GDataDocConstants.h"
24#import "GDataEntryDocBase.h"
25
26@implementation GDataFeedDocList
27
28+ (NSString *)coreProtocolVersionForServiceVersion:(NSString *)serviceVersion {
29  return [GDataDocConstants coreProtocolVersionForServiceVersion:serviceVersion];
30}
31
32+ (NSString *)standardFeedKind {
33  return kGDataCategoryDocItem;
34}
35
36+ (void)load {
37  [self registerFeedClass];
38}
39
40+ (Class)defaultClassForEntries {
41  return [GDataEntryDocBase class];
42}
43
44+ (NSString *)defaultServiceVersion {
45  return kGDataDocsDefaultServiceVersion;
46}
47@end
48
49#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE