/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Spreadsheets/GDataEntryWorksheet.h

http://macfuse.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. // GDataEntryWorksheet.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE
  19. #import "GDataEntryBase.h"
  20. #undef _EXTERN
  21. #undef _INITIALIZE_AS
  22. #ifdef GDATAENTRYWORKSHEET_DEFINE_GLOBALS
  23. #define _EXTERN
  24. #define _INITIALIZE_AS(x) =x
  25. #else
  26. #define _EXTERN GDATA_EXTERN
  27. #define _INITIALIZE_AS(x)
  28. #endif
  29. _EXTERN NSString* const kGDataCategoryWorksheet _INITIALIZE_AS(@"http://schemas.google.com/spreadsheets/2006#worksheet");
  30. // WorksheetEntry extensions
  31. @interface GDataEntryWorksheet : GDataEntryBase
  32. + (GDataEntryWorksheet *)worksheetEntry;
  33. // Hard upper bound of rows and columns, perhaps including
  34. // empty rows and columns.
  35. - (NSInteger)rowCount;
  36. - (void)setRowCount:(NSInteger)val;
  37. - (NSInteger)columnCount;
  38. - (void)setColumnCount:(NSInteger)val;
  39. // convenience accessors
  40. - (GDataLink *)cellsLink;
  41. - (NSURL *)listFeedURL;
  42. @end
  43. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE