PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Spreadsheets/GDataFeedSpreadsheetRecord.m

http://macfuse.googlecode.com/
Objective C | 53 lines | 25 code | 11 blank | 17 comment | 1 complexity | 01c70bff1b3a0886fca5c96857149ba3 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//  GDataFeedSpreadsheetRecord.m
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE
21
22#import "GDataFeedSpreadsheetRecord.h"
23#import "GDataSpreadsheetConstants.h"
24#import "GDataEntrySpreadsheetRecord.h"
25#import "GDataCategory.h"
26
27@implementation GDataFeedSpreadsheetRecord
28
29+ (NSString *)standardFeedKind {
30  return kGDataCategorySpreadsheetRecord;
31}
32
33+ (void)load {
34  [self registerFeedClass];
35}
36
37+ (GDataFeedSpreadsheetRecord *)spreadsheetRecordFeed {
38  GDataFeedSpreadsheetRecord *feed = [self object];
39  [feed setNamespaces:[GDataSpreadsheetConstants spreadsheetNamespaces]];
40  return feed;
41}
42
43- (Class)classForEntries {
44  return [GDataEntrySpreadsheetRecord class];
45}
46
47+ (NSString *)defaultServiceVersion {
48  return kGDataSpreadsheetDefaultServiceVersion;
49}
50
51@end
52
53#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE