PageRenderTime 44ms CodeModel.GetById 17ms app.highlight 22ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/externals/GData/Source/Clients/Spreadsheets/GDataFeedSpreadsheetTable.m

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