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

http://macfuse.googlecode.com/ · C++ Header · 55 lines · 18 code · 16 blank · 21 comment · 1 complexity · 657787c7226d1ba46400cc623bfc2fa2 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. // GDataColumnCount.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE
  19. #import "GDataObject.h"
  20. // For rowCount and colCount, like:
  21. // <gs:rowCount>100</gs:rowCount>
  22. //
  23. // http://code.google.com/apis/spreadsheets/reference.html#gs_reference
  24. @interface GDataRowColumnCount : GDataObject <NSCopying> {
  25. NSInteger count_;
  26. }
  27. - (id)initWithXMLElement:(NSXMLElement *)element
  28. parent:(GDataObject *)parent;
  29. - (NSXMLElement *)XMLElement;
  30. - (NSInteger)count;
  31. - (void)setCount:(NSInteger)val;
  32. @end
  33. @interface GDataColumnCount : GDataRowColumnCount <GDataExtension>
  34. + (GDataColumnCount *)columnCountWithInt:(NSInteger)val;
  35. @end
  36. @interface GDataRowCount : GDataRowColumnCount <GDataExtension>
  37. + (GDataRowCount *)rowCountWithInt:(NSInteger)val;
  38. @end
  39. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE