PageRenderTime 32ms CodeModel.GetById 24ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/externals/GData/Source/Clients/Spreadsheets/GDataEntryWorksheet.h

http://google-email-uploader-mac.googlecode.com/
C++ Header | 57 lines | 22 code | 14 blank | 21 comment | 1 complexity | 49847db8caa5425101686ca79d8699d0 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//  GDataEntryWorksheet.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE
21
22#import "GDataEntryBase.h"
23
24
25#undef _EXTERN
26#undef _INITIALIZE_AS
27#ifdef GDATAENTRYWORKSHEET_DEFINE_GLOBALS
28#define _EXTERN
29#define _INITIALIZE_AS(x) =x
30#else
31#define _EXTERN GDATA_EXTERN
32#define _INITIALIZE_AS(x)
33#endif
34
35_EXTERN NSString* const kGDataCategoryWorksheet _INITIALIZE_AS(@"http://schemas.google.com/spreadsheets/2006#worksheet");
36
37// WorksheetEntry extensions
38
39@interface GDataEntryWorksheet : GDataEntryBase
40
41+ (GDataEntryWorksheet *)worksheetEntry;
42
43// Hard upper bound of rows and columns, perhaps including
44// empty rows and columns.
45- (NSInteger)rowCount;
46- (void)setRowCount:(NSInteger)val;
47
48- (NSInteger)columnCount;
49- (void)setColumnCount:(NSInteger)val;
50
51// convenience accessors
52- (GDataLink *)cellsLink;
53- (NSURL *)listFeedURL;
54
55@end
56
57#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE