├── .gitmodules ├── CONTRIBUTING.md ├── Deps └── README.md ├── Examples ├── ContactsSample │ ├── ContactsSample.xcodeproj │ │ └── project.pbxproj │ ├── ContactsSampleAppController.h │ ├── ContactsSampleAppController.m │ ├── ContactsSampleWindowController.h │ ├── ContactsSampleWindowController.m │ ├── ContactsSample_Prefix.pch │ ├── EditEntryWindowController.h │ ├── EditEntryWindowController.m │ ├── English.lproj │ │ ├── ContactsSampleWindow.xib │ │ ├── EditEntryWindow.xib │ │ ├── InfoPlist.strings │ │ └── MainMenu.xib │ ├── Info.plist │ ├── README.txt │ ├── buildCopyScript │ ├── buildStripHeaders │ └── main.m ├── GooglePhotosSample │ ├── English.lproj │ │ ├── GooglePhotosSampleWindow.xib │ │ ├── InfoPlist.strings │ │ └── MainMenu.xib │ ├── GooglePhotosSample.xcodeproj │ │ └── project.pbxproj │ ├── GooglePhotosSampleAppController.h │ ├── GooglePhotosSampleAppController.m │ ├── GooglePhotosSampleWindowController.h │ ├── GooglePhotosSampleWindowController.m │ ├── GooglePhotosSample_Prefix.pch │ ├── Info.plist │ ├── README.txt │ ├── buildCopyScript │ ├── buildStripHeaders │ └── main.m ├── SpreadsheetSample │ ├── English.lproj │ │ ├── InfoPlist.strings │ │ ├── MainMenu.xib │ │ └── SpreadsheetSampleWindow.xib │ ├── Info.plist │ ├── README.txt │ ├── SpreadsheetSample.xcodeproj │ │ └── project.pbxproj │ ├── SpreadsheetSampleAppController.h │ ├── SpreadsheetSampleAppController.m │ ├── SpreadsheetSampleWindowController.h │ ├── SpreadsheetSampleWindowController.m │ ├── SpreadsheetSample_Prefix.pch │ ├── buildCopyScript │ ├── buildStripHeaders │ └── main.m └── SpreadsheetTableSample │ ├── DEPRECATION_NOTE-IMPORTANT.txt │ ├── English.lproj │ ├── InfoPlist.strings │ ├── MainMenu.xib │ └── SpreadsheetTableSampleWindow.xib │ ├── Info.plist │ ├── README.txt │ ├── SpreadsheetTableSample.xcodeproj │ └── project.pbxproj │ ├── SpreadsheetTableSampleAppController.h │ ├── SpreadsheetTableSampleAppController.m │ ├── SpreadsheetTableSampleWindowController.h │ ├── SpreadsheetTableSampleWindowController.m │ ├── SpreadsheetTableSample_Prefix.pch │ ├── buildCopyScript │ ├── buildStripHeaders │ └── main.m ├── LICENSE ├── README.md ├── ReleaseNotes.md └── Source ├── ACL ├── GDataACL.h ├── GDataACLKeyedRole.h ├── GDataACLKeyedRole.m ├── GDataACLRole.h ├── GDataACLRole.m ├── GDataACLScope.h ├── GDataACLScope.m ├── GDataEntryACL.h ├── GDataEntryACL.m ├── GDataFeedACL.h ├── GDataFeedACL.m ├── GDataServiceACL.h └── GDataServiceACL.m ├── BaseClasses ├── GDataEntryBase.h ├── GDataEntryBase.m ├── GDataFeedBase.h ├── GDataFeedBase.m ├── GDataObject.h ├── GDataObject.m ├── GDataQuery.h ├── GDataQuery.m ├── GDataServiceBase.h ├── GDataServiceBase.m ├── GDataServiceGoogle.h └── GDataServiceGoogle.m ├── Clients ├── Blogger │ ├── GDataBlogger.h │ ├── GDataBloggerConstants.h │ ├── GDataBloggerConstants.m │ ├── GDataEntryBlog.h │ ├── GDataEntryBlog.m │ ├── GDataEntryBlogComment.h │ ├── GDataEntryBlogComment.m │ ├── GDataEntryBlogPost.h │ ├── GDataEntryBlogPost.m │ ├── GDataFeedBlog.h │ ├── GDataFeedBlog.m │ ├── GDataFeedBlogComment.h │ ├── GDataFeedBlogComment.m │ ├── GDataFeedBlogPost.h │ ├── GDataFeedBlogPost.m │ ├── GDataServiceGoogleBlogger.h │ ├── GDataServiceGoogleBlogger.m │ ├── GDataThreadingElements.h │ └── GDataThreadingElements.m ├── Calendar │ ├── GDataCalendar.h │ ├── GDataCalendarSettingsProperty.h │ ├── GDataCalendarSettingsProperty.m │ ├── GDataEntryCalendar.h │ ├── GDataEntryCalendar.m │ ├── GDataEntryCalendarEvent.h │ ├── GDataEntryCalendarEvent.m │ ├── GDataEntryCalendarSettings.h │ ├── GDataEntryCalendarSettings.m │ ├── GDataEntryEvent.h │ ├── GDataEntryEvent.m │ ├── GDataEntryFreeBusy.h │ ├── GDataEntryFreeBusy.m │ ├── GDataEntryMessage.h │ ├── GDataEntryMessage.m │ ├── GDataFeedCalendar.h │ ├── GDataFeedCalendar.m │ ├── GDataFeedCalendarEvent.h │ ├── GDataFeedCalendarEvent.m │ ├── GDataFeedCalendarSettings.h │ ├── GDataFeedCalendarSettings.m │ ├── GDataFeedEvent.h │ ├── GDataFeedEvent.m │ ├── GDataFeedFreeBusy.h │ ├── GDataFeedFreeBusy.m │ ├── GDataFeedMessage.h │ ├── GDataFeedMessage.m │ ├── GDataOriginalEvent.h │ ├── GDataOriginalEvent.m │ ├── GDataQueryCalendar.h │ ├── GDataQueryCalendar.m │ ├── GDataRecurrence.h │ ├── GDataRecurrence.m │ ├── GDataRecurrenceException.h │ ├── GDataRecurrenceException.m │ ├── GDataReminder.h │ ├── GDataReminder.m │ ├── GDataServiceGoogleCalendar.h │ ├── GDataServiceGoogleCalendar.m │ ├── GDataWebContent.h │ └── GDataWebContent.m ├── Contacts │ ├── GDataContactConstants.h │ ├── GDataContactConstants.m │ ├── GDataContactElements.h │ ├── GDataContactElements.m │ ├── GDataContactEvent.h │ ├── GDataContactEvent.m │ ├── GDataContactExternalID.h │ ├── GDataContactExternalID.m │ ├── GDataContactJot.h │ ├── GDataContactJot.m │ ├── GDataContactLanguage.h │ ├── GDataContactLanguage.m │ ├── GDataContactLink.h │ ├── GDataContactLink.m │ ├── GDataContactPriority.h │ ├── GDataContactPriority.m │ ├── GDataContactRelation.h │ ├── GDataContactRelation.m │ ├── GDataContactSensitivity.h │ ├── GDataContactSensitivity.m │ ├── GDataContactUserDefinedField.h │ ├── GDataContactUserDefinedField.m │ ├── GDataContacts.h │ ├── GDataEntryContact.h │ ├── GDataEntryContact.m │ ├── GDataEntryContactBase.h │ ├── GDataEntryContactBase.m │ ├── GDataEntryContactGroup.h │ ├── GDataEntryContactGroup.m │ ├── GDataEntryContactProfile.h │ ├── GDataEntryContactProfile.m │ ├── GDataFeedContact.h │ ├── GDataFeedContact.m │ ├── GDataFeedContactGroup.h │ ├── GDataFeedContactGroup.m │ ├── GDataFeedContactProfile.h │ ├── GDataFeedContactProfile.m │ ├── GDataGroupMembershipInfo.h │ ├── GDataGroupMembershipInfo.m │ ├── GDataQueryContact.h │ ├── GDataQueryContact.m │ ├── GDataServiceGoogleContact.h │ └── GDataServiceGoogleContact.m ├── Docs │ ├── GDataDocConstants.h │ ├── GDataDocConstants.m │ ├── GDataDocElements.h │ ├── GDataDocElements.m │ ├── GDataDocFeature.h │ ├── GDataDocFeature.m │ ├── GDataDocMaxUploadSize.h │ ├── GDataDocMaxUploadSize.m │ ├── GDataDocTransferFormat.h │ ├── GDataDocTransferFormat.m │ ├── GDataDocs.h │ ├── GDataEntryDocBase.h │ ├── GDataEntryDocBase.m │ ├── GDataEntryDocChange.h │ ├── GDataEntryDocChange.m │ ├── GDataEntryDocListMetadata.h │ ├── GDataEntryDocListMetadata.m │ ├── GDataEntryDocRevision.h │ ├── GDataEntryDocRevision.m │ ├── GDataEntryDrawingDoc.h │ ├── GDataEntryDrawingDoc.m │ ├── GDataEntryFileDoc.h │ ├── GDataEntryFileDoc.m │ ├── GDataEntryFolderDoc.h │ ├── GDataEntryFolderDoc.m │ ├── GDataEntryPDFDoc.h │ ├── GDataEntryPDFDoc.m │ ├── GDataEntryPresentationDoc.h │ ├── GDataEntryPresentationDoc.m │ ├── GDataEntrySiteDoc.h │ ├── GDataEntrySiteDoc.m │ ├── GDataEntrySpreadsheetDoc.h │ ├── GDataEntrySpreadsheetDoc.m │ ├── GDataEntryStandardDoc.h │ ├── GDataEntryStandardDoc.m │ ├── GDataEntryTableDoc.h │ ├── GDataEntryTableDoc.m │ ├── GDataFeedDocChange.h │ ├── GDataFeedDocChange.m │ ├── GDataFeedDocList.h │ ├── GDataFeedDocList.m │ ├── GDataFeedDocRevision.h │ ├── GDataFeedDocRevision.m │ ├── GDataQueryDocs.h │ ├── GDataQueryDocs.m │ ├── GDataServiceGoogleDocs.h │ └── GDataServiceGoogleDocs.m ├── Photos │ ├── GDataEXIFTags.h │ ├── GDataEXIFTags.m │ ├── GDataEntryPhoto.h │ ├── GDataEntryPhoto.m │ ├── GDataEntryPhotoAlbum.h │ ├── GDataEntryPhotoAlbum.m │ ├── GDataEntryPhotoBase.h │ ├── GDataEntryPhotoBase.m │ ├── GDataEntryPhotoComment.h │ ├── GDataEntryPhotoComment.m │ ├── GDataEntryPhotoTag.h │ ├── GDataEntryPhotoTag.m │ ├── GDataEntryPhotoUser.h │ ├── GDataEntryPhotoUser.m │ ├── GDataFeedPhoto.h │ ├── GDataFeedPhoto.m │ ├── GDataFeedPhotoAlbum.h │ ├── GDataFeedPhotoAlbum.m │ ├── GDataFeedPhotoBase.h │ ├── GDataFeedPhotoBase.m │ ├── GDataFeedPhotoUser.h │ ├── GDataFeedPhotoUser.m │ ├── GDataPhotoConstants.h │ ├── GDataPhotoConstants.m │ ├── GDataPhotoElements.h │ ├── GDataPhotoElements.m │ ├── GDataPhotos.h │ ├── GDataQueryGooglePhotos.h │ ├── GDataQueryGooglePhotos.m │ ├── GDataServiceGooglePhotos.h │ └── GDataServiceGooglePhotos.m ├── Spreadsheets │ ├── GDataEntrySpreadsheet.h │ ├── GDataEntrySpreadsheet.m │ ├── GDataEntrySpreadsheetCell.h │ ├── GDataEntrySpreadsheetCell.m │ ├── GDataEntrySpreadsheetList.h │ ├── GDataEntrySpreadsheetList.m │ ├── GDataEntrySpreadsheetRecord.h │ ├── GDataEntrySpreadsheetRecord.m │ ├── GDataEntrySpreadsheetTable.h │ ├── GDataEntrySpreadsheetTable.m │ ├── GDataEntryWorksheet.h │ ├── GDataEntryWorksheet.m │ ├── GDataFeedSpreadsheet.h │ ├── GDataFeedSpreadsheet.m │ ├── GDataFeedSpreadsheetCell.h │ ├── GDataFeedSpreadsheetCell.m │ ├── GDataFeedSpreadsheetList.h │ ├── GDataFeedSpreadsheetList.m │ ├── GDataFeedSpreadsheetRecord.h │ ├── GDataFeedSpreadsheetRecord.m │ ├── GDataFeedSpreadsheetTable.h │ ├── GDataFeedSpreadsheetTable.m │ ├── GDataFeedWorksheet.h │ ├── GDataFeedWorksheet.m │ ├── GDataQuerySpreadsheet.h │ ├── GDataQuerySpreadsheet.m │ ├── GDataRowColumnCount.h │ ├── GDataRowColumnCount.m │ ├── GDataServiceGoogleSpreadsheet.h │ ├── GDataServiceGoogleSpreadsheet.m │ ├── GDataSpreadsheet.h │ ├── GDataSpreadsheetCell.h │ ├── GDataSpreadsheetCell.m │ ├── GDataSpreadsheetColumn.h │ ├── GDataSpreadsheetColumn.m │ ├── GDataSpreadsheetConstants.h │ ├── GDataSpreadsheetConstants.m │ ├── GDataSpreadsheetCustomElement.h │ ├── GDataSpreadsheetCustomElement.m │ ├── GDataSpreadsheetData.h │ ├── GDataSpreadsheetData.m │ ├── GDataSpreadsheetField.h │ ├── GDataSpreadsheetField.m │ ├── GDataSpreadsheetHeader.h │ └── GDataSpreadsheetHeader.m └── YouTube │ ├── GDataEntryYouTubeCaptionTrack.h │ ├── GDataEntryYouTubeCaptionTrack.m │ ├── GDataEntryYouTubeChannel.h │ ├── GDataEntryYouTubeChannel.m │ ├── GDataEntryYouTubeComment.h │ ├── GDataEntryYouTubeComment.m │ ├── GDataEntryYouTubeComplaint.h │ ├── GDataEntryYouTubeComplaint.m │ ├── GDataEntryYouTubeFavorite.h │ ├── GDataEntryYouTubeFavorite.m │ ├── GDataEntryYouTubeFeedLinkBase.h │ ├── GDataEntryYouTubeFeedLinkBase.m │ ├── GDataEntryYouTubeFriend.h │ ├── GDataEntryYouTubeFriend.m │ ├── GDataEntryYouTubePlaylist.h │ ├── GDataEntryYouTubePlaylist.m │ ├── GDataEntryYouTubePlaylistLink.h │ ├── GDataEntryYouTubePlaylistLink.m │ ├── GDataEntryYouTubeRating.h │ ├── GDataEntryYouTubeRating.m │ ├── GDataEntryYouTubeSubscription.h │ ├── GDataEntryYouTubeSubscription.m │ ├── GDataEntryYouTubeUpload.h │ ├── GDataEntryYouTubeUpload.m │ ├── GDataEntryYouTubeUserEvent.h │ ├── GDataEntryYouTubeUserEvent.m │ ├── GDataEntryYouTubeUserProfile.h │ ├── GDataEntryYouTubeUserProfile.m │ ├── GDataEntryYouTubeVideo.h │ ├── GDataEntryYouTubeVideo.m │ ├── GDataEntryYouTubeVideoMessage.h │ ├── GDataEntryYouTubeVideoMessage.m │ ├── GDataFeedYouTubeCaptionTrack.h │ ├── GDataFeedYouTubeCaptionTrack.m │ ├── GDataFeedYouTubeChannel.h │ ├── GDataFeedYouTubeChannel.m │ ├── GDataFeedYouTubeComment.h │ ├── GDataFeedYouTubeComment.m │ ├── GDataFeedYouTubeComplaint.h │ ├── GDataFeedYouTubeComplaint.m │ ├── GDataFeedYouTubeFavorite.h │ ├── GDataFeedYouTubeFavorite.m │ ├── GDataFeedYouTubeFriend.h │ ├── GDataFeedYouTubeFriend.m │ ├── GDataFeedYouTubePlaylist.h │ ├── GDataFeedYouTubePlaylist.m │ ├── GDataFeedYouTubePlaylistLink.h │ ├── GDataFeedYouTubePlaylistLink.m │ ├── GDataFeedYouTubeRating.h │ ├── GDataFeedYouTubeRating.m │ ├── GDataFeedYouTubeSubscription.h │ ├── GDataFeedYouTubeSubscription.m │ ├── GDataFeedYouTubeUserEvent.h │ ├── GDataFeedYouTubeUserEvent.m │ ├── GDataFeedYouTubeUserProfile.h │ ├── GDataFeedYouTubeUserProfile.m │ ├── GDataFeedYouTubeVideo.h │ ├── GDataFeedYouTubeVideo.m │ ├── GDataFeedYouTubeVideoMessage.h │ ├── GDataFeedYouTubeVideoMessage.m │ ├── GDataQueryYouTube.h │ ├── GDataQueryYouTube.m │ ├── GDataServiceGoogleYouTube.h │ ├── GDataServiceGoogleYouTube.m │ ├── GDataYouTube.h │ ├── GDataYouTubeAccessControl.h │ ├── GDataYouTubeAccessControl.m │ ├── GDataYouTubeConstants.h │ ├── GDataYouTubeConstants.m │ ├── GDataYouTubeElements.h │ ├── GDataYouTubeElements.m │ ├── GDataYouTubeMediaElements.h │ ├── GDataYouTubeMediaElements.m │ ├── GDataYouTubePublicationState.h │ ├── GDataYouTubePublicationState.m │ ├── GDataYouTubeRating.h │ ├── GDataYouTubeRating.m │ ├── GDataYouTubeStatistics.h │ └── GDataYouTubeStatistics.m ├── Elements ├── GDataAtomPubControl.h ├── GDataAtomPubControl.m ├── GDataBaseElements.h ├── GDataBaseElements.m ├── GDataBatchID.h ├── GDataBatchID.m ├── GDataBatchInterrupted.h ├── GDataBatchInterrupted.m ├── GDataBatchOperation.h ├── GDataBatchOperation.m ├── GDataBatchStatus.h ├── GDataBatchStatus.m ├── GDataCategory.h ├── GDataCategory.m ├── GDataComment.h ├── GDataComment.m ├── GDataCustomProperty.h ├── GDataCustomProperty.m ├── GDataDateTime.h ├── GDataDateTime.m ├── GDataDeleted.h ├── GDataDeleted.m ├── GDataElements.h ├── GDataEmail.h ├── GDataEmail.m ├── GDataEntryContent.h ├── GDataEntryContent.m ├── GDataEntryLink.h ├── GDataEntryLink.m ├── GDataExtendedProperty.h ├── GDataExtendedProperty.m ├── GDataFeedLink.h ├── GDataFeedLink.m ├── GDataGenerator.h ├── GDataGenerator.m ├── GDataGeoPt.h ├── GDataGeoPt.m ├── GDataIM.h ├── GDataIM.m ├── GDataLink.h ├── GDataLink.m ├── GDataMoney.h ├── GDataMoney.m ├── GDataName.h ├── GDataName.m ├── GDataOrganization.h ├── GDataOrganization.m ├── GDataOrganizationName.h ├── GDataOrganizationName.m ├── GDataPerson.h ├── GDataPerson.m ├── GDataPhoneNumber.h ├── GDataPhoneNumber.m ├── GDataPostalAddress.h ├── GDataPostalAddress.m ├── GDataRating.h ├── GDataRating.m ├── GDataStructuredPostalAddress.h ├── GDataStructuredPostalAddress.m ├── GDataTextConstruct.h ├── GDataTextConstruct.m ├── GDataValueConstruct.h ├── GDataValueConstruct.m ├── GDataWhen.h ├── GDataWhen.m ├── GDataWhere.h ├── GDataWhere.m ├── GDataWho.h └── GDataWho.m ├── GData.h ├── GData.xcodeproj └── project.pbxproj ├── GDataDefines.h ├── GDataFramework.h ├── GDataFramework.m ├── GDataTargetNamespace.h ├── GDataUtilities.h ├── GDataUtilities.m ├── Geo ├── GDataGeo.h └── GDataGeo.m ├── Introspection ├── GDataAtomCategoryGroup.h ├── GDataAtomCategoryGroup.m ├── GDataAtomCollection.h ├── GDataAtomCollection.m ├── GDataAtomServiceDocument.h ├── GDataAtomServiceDocument.m ├── GDataAtomWorkspace.h ├── GDataAtomWorkspace.m └── GDataServiceIntrospection.h ├── Media ├── GDataMedia.h ├── GDataMediaCategory.h ├── GDataMediaCategory.m ├── GDataMediaContent.h ├── GDataMediaContent.m ├── GDataMediaCredit.h ├── GDataMediaCredit.m ├── GDataMediaGroup.h ├── GDataMediaGroup.m ├── GDataMediaKeywords.h ├── GDataMediaKeywords.m ├── GDataMediaPlayer.h ├── GDataMediaPlayer.m ├── GDataMediaRating.h ├── GDataMediaRating.m ├── GDataMediaRestriction.h ├── GDataMediaRestriction.m ├── GDataMediaThumbnail.h ├── GDataMediaThumbnail.m ├── GDataNormalPlayTime.h └── GDataNormalPlayTime.m ├── Networking ├── GDataAuthenticationFetcher.h ├── GDataAuthenticationFetcher.m ├── GDataServerError.h └── GDataServerError.m ├── Resources ├── DevelopmentTestApplication-Info.plist ├── English.lproj │ └── InfoPlist.strings ├── GDataFramework-Info.plist └── GDataUnitTests-Info.plist ├── Tests ├── EntryDocListMetadataTest1.xml ├── EntrySpreadsheetCellTest1.xml ├── FeedACLTest1.xml ├── FeedBlogCommentsTest1.xml ├── FeedBlogPostTest1.xml ├── FeedBlogTest1.xml ├── FeedCalendarEventTest0.xml ├── FeedCalendarEventTest1.xml ├── FeedCalendarTest1.xml ├── FeedCodeSearchTest1.xml ├── FeedContactTest1.xml ├── FeedContactTest2.xml ├── FeedDocListTest1.xml ├── FeedMessageTest1.xml ├── FeedPhotosAlbumPhoto1.xml ├── FeedPhotosPhotoComment1.xml ├── FeedPhotosSearch1.xml ├── FeedPhotosUserAlbum1.xml ├── FeedPhotosUserEntry1.xml ├── FeedPhotosUserTag1.xml ├── FeedServiceDocTest2.xml ├── FeedSpreadsheetCellsTest1.xml ├── FeedSpreadsheetListTest1.xml ├── FeedSpreadsheetRecordTest1.xml ├── FeedSpreadsheetTableTest1.xml ├── FeedSpreadsheetTest1.xml ├── FeedSpreadsheetWorksheetTest1.xml ├── FeedYouTubeCaptionTracks1.xml ├── FeedYouTubeContacts1.xml ├── FeedYouTubeFavorites1.xml ├── FeedYouTubePlaylist1.xml ├── FeedYouTubePlaylistLink1.xml ├── FeedYouTubeSubscriptions1.xml ├── FeedYouTubeUserEventTest1.xml ├── FeedYouTubeUserProfile1.xml ├── FeedYouTubeVideo1.xml ├── GDataDateTimeTest.m ├── GDataElementsTest.h ├── GDataElementsTest.m ├── GDataFeedTest.h ├── GDataFeedTest.m ├── GDataFrameworkTest.m ├── GDataNormalPlayTimeTest.m ├── GDataQueryTest.m ├── GDataServerErrorTest.m ├── GDataServiceTest.m ├── GDataTestHTTPServer.py ├── GDataUtilitiesTest.m ├── GDataXMLSupportTest.m └── main.m ├── Tools └── GenerateTargetNamespaceMacros │ ├── GenerateTargetNamespaceMacros.m │ └── GenerateTargetNamespaceMacros.xcodeproj │ └── project.pbxproj └── XMLSupport ├── GDataXMLNode.h └── GDataXMLNode.m /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Deps/gtm-session-fetcher"] 2 | path = Deps/gtm-session-fetcher 3 | url = https://github.com/google/gtm-session-fetcher.git 4 | branch = master 5 | [submodule "Deps/gtm-oauth2"] 6 | path = Deps/gtm-oauth2 7 | url = https://github.com/google/gtm-oauth2.git 8 | branch = master 9 | -------------------------------------------------------------------------------- /Deps/README.md: -------------------------------------------------------------------------------- 1 | This directory contains git submodules for the other projects that this project 2 | depends on. 3 | -------------------------------------------------------------------------------- /Examples/ContactsSample/ContactsSampleAppController.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // ContactsSampleAppController.h 18 | // 19 | 20 | #import 21 | 22 | 23 | @interface ContactsSampleAppController : NSObject { 24 | 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Examples/ContactsSample/ContactsSampleAppController.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // ContactsSampleAppController.m 18 | // 19 | 20 | #import "ContactsSampleAppController.h" 21 | #import "ContactsSampleWindowController.h" 22 | 23 | @implementation ContactsSampleAppController 24 | 25 | - (void)applicationWillFinishLaunching:(NSNotification *)notifcation { 26 | 27 | ContactsSampleWindowController* windowController = [ContactsSampleWindowController sharedContactsSampleWindowController]; 28 | [windowController showWindow:self]; 29 | 30 | } 31 | 32 | - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { 33 | return YES; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Examples/ContactsSample/ContactsSample_Prefix.pch: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __OBJC__ 3 | #import 4 | #endif 5 | -------------------------------------------------------------------------------- /Examples/ContactsSample/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | NSHumanReadableCopyright = "© Google Inc, 2008"; 4 | -------------------------------------------------------------------------------- /Examples/ContactsSample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.example.ContactsSample 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/ContactsSample/README.txt: -------------------------------------------------------------------------------- 1 | This sample should automatically build and copy over the GData.framework as part of the build-and-run process. -------------------------------------------------------------------------------- /Examples/ContactsSample/buildCopyScript: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | # 3 | # This script tries to move the built GData.framework 4 | # into a place the example application's Copy Frameworks phase 5 | # will find it, regardless of whether projects are set to share 6 | # a build location or use the default build location 7 | 8 | # if the framework exists in the GData project's build directory, 9 | # copy it to this project's build directory 10 | 11 | if [ -d "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" ] ; then 12 | rm -rf "$BUILT_PRODUCTS_DIR/GData.framework" 13 | ditto -v "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" "$BUILT_PRODUCTS_DIR/GData.framework" 14 | fi 15 | -------------------------------------------------------------------------------- /Examples/ContactsSample/buildStripHeaders: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # buildStripHeaders 4 | # 5 | # Remove header files from the built copy of the framework inside our 6 | # application. 7 | 8 | # Strip "*.h" files 9 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete 10 | 11 | # Strip "Headers" links 12 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete 13 | 14 | # Strip "Headers" directories 15 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete 16 | 17 | 18 | -------------------------------------------------------------------------------- /Examples/ContactsSample/main.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // main.m 18 | // 19 | 20 | #import 21 | 22 | int main(int argc, char *argv[]) 23 | { 24 | return NSApplicationMain(argc, (const char **) argv); 25 | } 26 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | NSHumanReadableCopyright = "© Google Inc, 2007"; 4 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/GooglePhotosSampleAppController.h: -------------------------------------------------------------------------------- 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 | // GooglePhotosSampleAppController.h 18 | // 19 | 20 | #import 21 | 22 | 23 | @interface GooglePhotosSampleAppController : NSObject { 24 | 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/GooglePhotosSampleAppController.m: -------------------------------------------------------------------------------- 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 | // GooglePhotosSampleAppController.m 18 | // 19 | 20 | #import "GooglePhotosSampleAppController.h" 21 | #import "GooglePhotosSampleWindowController.h" 22 | 23 | @implementation GooglePhotosSampleAppController 24 | 25 | - (void)applicationWillFinishLaunching:(NSNotification *)notifcation { 26 | 27 | GooglePhotosSampleWindowController* windowController = [GooglePhotosSampleWindowController sharedGooglePhotosSampleWindowController]; 28 | [windowController showWindow:self]; 29 | 30 | } 31 | 32 | - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { 33 | return YES; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/GooglePhotosSample_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.example.GooglePhotosSample 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/README.txt: -------------------------------------------------------------------------------- 1 | This sample should automatically build and copy over the GData.framework as part of the build-and-run process. -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/buildCopyScript: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | # 3 | # This script tries to move the built GData.framework 4 | # into a place the example application's Copy Frameworks phase 5 | # will find it, regardless of whether projects are set to share 6 | # a build location or use the default build location 7 | 8 | # if the framework exists in the GData project's build directory, 9 | # copy it to this project's build directory 10 | 11 | if [ -d "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" ] ; then 12 | rm -rf "$BUILT_PRODUCTS_DIR/GData.framework" 13 | ditto -v "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" "$BUILT_PRODUCTS_DIR/GData.framework" 14 | fi 15 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/buildStripHeaders: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # buildStripHeaders 4 | # 5 | # Remove header files from the built copy of the framework inside our 6 | # application. 7 | 8 | # Strip "*.h" files 9 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete 10 | 11 | # Strip "Headers" links 12 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete 13 | 14 | # Strip "Headers" directories 15 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete 16 | 17 | 18 | -------------------------------------------------------------------------------- /Examples/GooglePhotosSample/main.m: -------------------------------------------------------------------------------- 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 | // main.m 18 | // 19 | 20 | #import 21 | 22 | int main(int argc, char *argv[]) 23 | { 24 | return NSApplicationMain(argc, (const char **) argv); 25 | } 26 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | NSHumanReadableCopyright = "© Google Inc, 2007"; 4 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/Info.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.example.SpreadsheetSample 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/README.txt: -------------------------------------------------------------------------------- 1 | This sample should automatically build and copy over the GData.framework as part of the build-and-run process. 2 | 3 | You should not use the list or cell feed APIs in new code. 4 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/SpreadsheetSampleAppController.h: -------------------------------------------------------------------------------- 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 | // SpreadsheetSampleAppController.h 18 | // 19 | 20 | #import 21 | 22 | 23 | @interface SpreadsheetSampleAppController : NSObject { 24 | 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/SpreadsheetSampleAppController.m: -------------------------------------------------------------------------------- 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 | // SpreadsheetSampleAppController.m 18 | // 19 | 20 | #import "SpreadsheetSampleAppController.h" 21 | #import "SpreadsheetSampleWindowController.h" 22 | 23 | @implementation SpreadsheetSampleAppController 24 | 25 | - (void)applicationWillFinishLaunching:(NSNotification *)notifcation { 26 | 27 | SpreadsheetSampleWindowController* windowController = [SpreadsheetSampleWindowController sharedSpreadsheetSampleWindowController]; 28 | [windowController showWindow:self]; 29 | 30 | } 31 | 32 | - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { 33 | return YES; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/SpreadsheetSample_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'CalendarSample' target in the 'CalendarSample' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/buildCopyScript: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | # 3 | # This script tries to move the built GData.framework 4 | # into a place the example application's Copy Frameworks phase 5 | # will find it, regardless of whether projects are set to share 6 | # a build location or use the default build location 7 | 8 | # if the framework exists in the GData project's build directory, 9 | # copy it to this project's build directory 10 | 11 | if [ -d "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" ] ; then 12 | rm -rf "$BUILT_PRODUCTS_DIR/GData.framework" 13 | ditto -v "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" "$BUILT_PRODUCTS_DIR/GData.framework" 14 | fi 15 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/buildStripHeaders: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # buildStripHeaders 4 | # 5 | # Remove header files from the built copy of the framework inside our 6 | # application. 7 | 8 | # Strip "*.h" files 9 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete 10 | 11 | # Strip "Headers" links 12 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete 13 | 14 | # Strip "Headers" directories 15 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete 16 | 17 | 18 | -------------------------------------------------------------------------------- /Examples/SpreadsheetSample/main.m: -------------------------------------------------------------------------------- 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 | // main.m 18 | // 19 | 20 | #import 21 | 22 | int main(int argc, char *argv[]) 23 | { 24 | return NSApplicationMain(argc, (const char **) argv); 25 | } 26 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/DEPRECATION_NOTE-IMPORTANT.txt: -------------------------------------------------------------------------------- 1 | The tables and records feeds are no longer being developed, and will eventually be turned off. 2 | 3 | For more information, see 4 | 5 | http://googleappsdeveloper.blogspot.com/2011/03/deprecating-tables-and-records-feeds-in.html 6 | 7 | New applications should not be developed using the tables and records feeds. 8 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | NSHumanReadableCopyright = "© Google Inc. 2009"; 4 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.example.SpreadsheetTableSample 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/README.txt: -------------------------------------------------------------------------------- 1 | This sample should automatically build and copy over the GData.framework as part of the build-and-run process. 2 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/SpreadsheetTableSampleAppController.h: -------------------------------------------------------------------------------- 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 | // SpreadsheetTableSampleAppController.h 18 | // 19 | 20 | #import 21 | 22 | @interface SpreadsheetTableSampleAppController : NSObject 23 | @end 24 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/SpreadsheetTableSampleAppController.m: -------------------------------------------------------------------------------- 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 | // SpreadsheetTableSampleAppController.m 18 | // 19 | 20 | #import "SpreadsheetTableSampleAppController.h" 21 | #import "SpreadsheetTableSampleWindowController.h" 22 | 23 | @implementation SpreadsheetTableSampleAppController 24 | 25 | - (void)applicationWillFinishLaunching:(NSNotification *)notification { 26 | 27 | SpreadsheetTableSampleWindowController* windowController 28 | = [SpreadsheetTableSampleWindowController sharedWindowController]; 29 | [windowController showWindow:self]; 30 | 31 | } 32 | 33 | - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/SpreadsheetTableSample_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/buildCopyScript: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | # 3 | # This script tries to move the built GData.framework 4 | # into a place the example application's Copy Frameworks phase 5 | # will find it, regardless of whether projects are set to share 6 | # a build location or use the default build location 7 | 8 | # if the framework exists in the GData project's build directory, 9 | # copy it to this project's build directory 10 | 11 | if [ -d "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" ] ; then 12 | rm -rf "$BUILT_PRODUCTS_DIR/GData.framework" 13 | ditto -v "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" "$BUILT_PRODUCTS_DIR/GData.framework" 14 | fi 15 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/buildStripHeaders: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # buildStripHeaders 4 | # 5 | # Remove header files from the built copy of the framework inside our 6 | # application. 7 | 8 | # Strip "*.h" files 9 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete 10 | 11 | # Strip "Headers" links 12 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete 13 | 14 | # Strip "Headers" directories 15 | find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete 16 | 17 | 18 | -------------------------------------------------------------------------------- /Examples/SpreadsheetTableSample/main.m: -------------------------------------------------------------------------------- 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 | // main.m 18 | // 19 | 20 | #import 21 | 22 | int main(int argc, char *argv[]) 23 | { 24 | return NSApplicationMain(argc, (const char **) argv); 25 | } 26 | -------------------------------------------------------------------------------- /Source/ACL/GDataACL.h: -------------------------------------------------------------------------------- 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 | // GDataACL.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | #import "GDataACLScope.h" 23 | #import "GDataACLRole.h" 24 | #import "GDataACLKeyedRole.h" 25 | #import "GDataEntryACL.h" 26 | #import "GDataFeedACL.h" 27 | #import "GDataServiceACL.h" 28 | 29 | -------------------------------------------------------------------------------- /Source/ACL/GDataFeedACL.h: -------------------------------------------------------------------------------- 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 | // GDataFeedACL.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ACLS \ 21 | || GDATA_INCLUDE_CALENDAR_SERVICE || GDATA_INCLUDE_DOCS_SERVICE 22 | 23 | #import "GDataFeedBase.h" 24 | #import "GDataEntryACL.h" 25 | 26 | @interface GDataFeedACL : GDataFeedBase 27 | 28 | + (id)ACLFeed; 29 | 30 | + (id)ACLFeedWithXMLData:(NSData *)data; 31 | 32 | @end 33 | 34 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDE || GDATA_INCLUDE_* 35 | -------------------------------------------------------------------------------- /Source/ACL/GDataFeedACL.m: -------------------------------------------------------------------------------- 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 | // GDataFeedACL.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ACLS \ 21 | || GDATA_INCLUDE_CALENDAR_SERVICE || GDATA_INCLUDE_DOCS_SERVICE 22 | 23 | #import "GDataFeedACL.h" 24 | 25 | #import "GDataEntryACL.h" 26 | 27 | @implementation GDataFeedACL 28 | 29 | + (id)ACLFeed { 30 | GDataFeedACL *feed = [self object]; 31 | 32 | [feed setNamespaces:[GDataEntryACL ACLNamespaces]]; 33 | 34 | return feed; 35 | } 36 | 37 | + (id)ACLFeedWithXMLData:(NSData *)data { 38 | return [self feedWithXMLData:data]; 39 | } 40 | 41 | + (NSString *)standardFeedKind { 42 | return kGDataCategoryACL; 43 | } 44 | 45 | + (void)load { 46 | [self registerFeedClass]; 47 | } 48 | 49 | - (Class)classForEntries { 50 | return [GDataEntryACL class]; 51 | } 52 | 53 | @end 54 | 55 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDE || GDATA_INCLUDE_* 56 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataBlogger.h: -------------------------------------------------------------------------------- 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 | // GDataBlogger.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | // Blogger 23 | 24 | #import "GDataThreadingElements.h" 25 | #import "GDataBloggerConstants.h" 26 | #import "GDataEntryBlog.h" 27 | #import "GDataEntryBlogPost.h" 28 | #import "GDataEntryBlogComment.h" 29 | #import "GDataFeedBlog.h" 30 | #import "GDataFeedBlogPost.h" 31 | #import "GDataFeedBlogComment.h" 32 | #import "GDataServiceGoogleBlogger.h" 33 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataBloggerConstants.m: -------------------------------------------------------------------------------- 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 | // GDataBloggerConstants.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #define GDATABLOGGERCONSTANTS_DEFINE_GLOBALS 1 23 | #import "GDataBloggerConstants.h" 24 | 25 | #import "GDataEntryBase.h" 26 | #import "GDataThreadingElements.h" 27 | 28 | @implementation GDataBloggerConstants 29 | 30 | + (NSDictionary *)bloggerNamespaces { 31 | NSMutableDictionary *namespaces; 32 | 33 | namespaces = [NSMutableDictionary dictionaryWithObjectsAndKeys: 34 | kGDataNamespaceAtomThreading, kGDataNamespaceAtomThreadingPrefix, 35 | nil]; 36 | 37 | [namespaces addEntriesFromDictionary:[GDataEntryBase baseGDataNamespaces]]; 38 | 39 | return namespaces; 40 | } 41 | 42 | @end 43 | 44 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 45 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataEntryBlog.h: -------------------------------------------------------------------------------- 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 | // GDataEntryBlog.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @interface GDataEntryBlog : GDataEntryBase 25 | 26 | + (GDataEntryBlog *)blogEntry; 27 | 28 | // convenience accessors 29 | 30 | - (GDataLink *)repliesLink; 31 | - (GDataLink *)settingsLink; 32 | - (GDataLink *)templateLink; 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataEntryBlogComment.h: -------------------------------------------------------------------------------- 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 | // GDataEntryBlogComment.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataThreadingElements.h" 24 | 25 | @interface GDataEntryBlogComment : GDataEntryBase 26 | 27 | + (GDataEntryBlogComment *)commentEntry; 28 | 29 | // extensions 30 | 31 | - (GDataInReplyTo *)inReplyTo; 32 | - (void)setInReplyTo:(GDataInReplyTo *)obj; 33 | 34 | // convenience accessors 35 | 36 | - (GDataLink *)repliesLink; 37 | 38 | @end 39 | 40 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 41 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataEntryBlogPost.h: -------------------------------------------------------------------------------- 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 | // GDataEntryBlogPost.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataThreadingElements.h" 24 | #import "GDataMediaThumbnail.h" 25 | 26 | @interface GDataEntryBlogPost : GDataEntryBase 27 | 28 | + (GDataEntryBlogPost *)postEntry; 29 | 30 | // extensions 31 | 32 | - (GDataMediaThumbnail *)thumbnail; 33 | - (void)setThumbnail:(GDataMediaThumbnail *)obj; 34 | 35 | - (NSNumber *)total; 36 | - (void)setTotal:(NSNumber *)num; 37 | 38 | // convenience accessors 39 | 40 | - (GDataLink *)enclosureLink; 41 | - (GDataLink *)repliesHTMLLink; 42 | - (GDataLink *)repliesAtomLink; 43 | 44 | @end 45 | 46 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 47 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataFeedBlog.h: -------------------------------------------------------------------------------- 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 | // GDataFeedBlog.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedBlog : GDataFeedBase 25 | + (GDataFeedBlog *)blogFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataFeedBlog.m: -------------------------------------------------------------------------------- 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 | // GDataFeedBlog.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataFeedBlog.h" 23 | #import "GDataEntryBlog.h" 24 | #import "GDataBloggerConstants.h" 25 | 26 | 27 | @implementation GDataFeedBlog 28 | 29 | + (GDataFeedBlog *)blogFeed { 30 | 31 | GDataFeedBlog *feed = [self object]; 32 | 33 | [feed setNamespaces:[GDataBloggerConstants bloggerNamespaces]]; 34 | 35 | return feed; 36 | } 37 | 38 | //+ (NSString *)standardFeedKind { 39 | // return kGDataCategoryBlog; 40 | //} 41 | // 42 | //+ (void)load { 43 | // [self registerFeedClass]; 44 | //} 45 | 46 | - (Class)classForEntries { 47 | return [GDataEntryBlog class]; 48 | } 49 | 50 | + (NSString *)defaultServiceVersion { 51 | return kGDataBloggerDefaultServiceVersion; 52 | } 53 | 54 | @end 55 | 56 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 57 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataFeedBlogComment.h: -------------------------------------------------------------------------------- 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 | // GDataFeedBlogComment.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedBlogComment : GDataFeedBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataFeedBlogComment.m: -------------------------------------------------------------------------------- 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 | // GDataFeedBlogComment.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataFeedBlogComment.h" 23 | #import "GDataEntryBlogComment.h" 24 | #import "GDataBloggerConstants.h" 25 | 26 | 27 | @implementation GDataFeedBlogComment 28 | 29 | //+ (NSString *)standardFeedKind { 30 | // return kGDataCategoryBloggerComment; 31 | //} 32 | // 33 | //+ (void)load { 34 | // [self registerFeedClass]; 35 | //} 36 | 37 | - (Class)classForEntries { 38 | return [GDataEntryBlogComment class]; 39 | } 40 | 41 | + (NSString *)defaultServiceVersion { 42 | return kGDataBloggerDefaultServiceVersion; 43 | } 44 | 45 | @end 46 | 47 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 48 | -------------------------------------------------------------------------------- /Source/Clients/Blogger/GDataFeedBlogPost.h: -------------------------------------------------------------------------------- 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 | // GDataFeedBlogPost.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedBlogPost : GDataFeedBase 25 | + (GDataFeedBlogPost *)blogPostFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BLOGGER_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataCalendar.h: -------------------------------------------------------------------------------- 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 | // GDataCalendar.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | // Google Calendar 23 | #import "GDataWebContent.h" 24 | #import "GDataOriginalEvent.h" 25 | #import "GDataRecurrence.h" 26 | #import "GDataRecurrenceException.h" 27 | #import "GDataReminder.h" 28 | #import "GDataCalendarSettingsProperty.h" 29 | 30 | #import "GDataEntryCalendar.h" 31 | #import "GDataFeedCalendar.h" 32 | #import "GDataEntryEvent.h" 33 | #import "GDataFeedEvent.h" 34 | #import "GDataEntryCalendarEvent.h" 35 | #import "GDataFeedCalendarEvent.h" 36 | #import "GDataEntryMessage.h" 37 | #import "GDataFeedMessage.h" 38 | #import "GDataEntryCalendarSettings.h" 39 | #import "GDataFeedCalendarSettings.h" 40 | #import "GDataEntryFreeBusy.h" 41 | #import "GDataFeedFreeBusy.h" 42 | 43 | #import "GDataServiceGoogleCalendar.h" 44 | #import "GDataQueryCalendar.h" 45 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataCalendarSettingsProperty.h: -------------------------------------------------------------------------------- 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 | // GDataCalendarSettingsProperty.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | // calendar settings property, like 25 | // 26 | 27 | @interface GDataCalendarSettingsProperty : GDataNameValueConstruct 28 | 29 | // supports -name and -setName from the superclass 30 | 31 | - (NSString *)value; 32 | - (void)setValue:(NSString *)str; 33 | @end 34 | 35 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 36 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataEntryCalendarSettings.h: -------------------------------------------------------------------------------- 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 | // GDataEntryCalendarSettings.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @class GDataCalendarSettingsProperty; 25 | 26 | @interface GDataEntryCalendarSettings : GDataEntryBase 27 | - (GDataCalendarSettingsProperty *)settingsProperty; 28 | - (void)setSettingsProperty:(GDataCalendarSettingsProperty *)obj; 29 | @end 30 | 31 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 32 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedCalendar.h: -------------------------------------------------------------------------------- 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 | // GDataFeedCalendar.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedCalendar : GDataFeedBase { 25 | } 26 | 27 | 28 | + (GDataFeedCalendar *)calendarFeedWithXMLData:(NSData *)data; 29 | 30 | + (GDataFeedCalendar *)calendarFeed; 31 | 32 | - (Class)classForEntries; 33 | @end 34 | 35 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 36 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedCalendarEvent.h: -------------------------------------------------------------------------------- 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 | // GDataFeedCalendarEvent.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedEvent.h" 23 | 24 | @class GDataTimeZoneProperty; 25 | 26 | @interface GDataFeedCalendarEvent : GDataFeedEvent 27 | 28 | + (GDataFeedCalendarEvent *)calendarEventFeedWithXMLData:(NSData *)data; 29 | 30 | + (GDataFeedCalendarEvent *)calendarEventFeed; 31 | 32 | - (Class)classForEntries; 33 | 34 | #pragma mark - 35 | 36 | - (GDataTimeZoneProperty *)timeZoneName; 37 | - (void)setTimeZoneName:(GDataTimeZoneProperty *)val; 38 | 39 | - (NSNumber *)timesCleaned; // int 40 | - (void)setTimesCleaned:(NSNumber *)num; 41 | 42 | @end 43 | 44 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 45 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedCalendarSettings.h: -------------------------------------------------------------------------------- 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 | // GDataFeedCalendarSettings.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedCalendarSettings : GDataFeedBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedCalendarSettings.m: -------------------------------------------------------------------------------- 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 | // GDataFeedCalendarSettings.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedCalendarSettings.h" 23 | #import "GDataEntryCalendar.h" 24 | #import "GDataEntryCalendarEvent.h" 25 | 26 | @implementation GDataFeedCalendarSettings 27 | 28 | + (NSString *)standardKindAttributeValue { 29 | return @"calendar#settingFeed"; 30 | } 31 | 32 | + (void)load { 33 | [self registerFeedClass]; 34 | } 35 | 36 | + (NSString *)defaultServiceVersion { 37 | return kGDataCalendarDefaultServiceVersion; 38 | } 39 | 40 | @end 41 | 42 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 43 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedEvent.h: -------------------------------------------------------------------------------- 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 | // GDataFeedEvent.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedEvent : GDataFeedBase { 25 | } 26 | 27 | + (GDataFeedEvent *)eventFeedWithXMLData:(NSData *)data; 28 | 29 | - (Class)classForEntries; 30 | 31 | - (NSArray *)wheres; 32 | - (void)setWheres:(NSArray *)array; 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedFreeBusy.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataFeedFreeBusy.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedFreeBusy : GDataFeedBase 25 | @end 26 | 27 | @interface GDataFeedGroupFreeBusy : GDataFeedBase 28 | @end 29 | 30 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 31 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedMessage.h: -------------------------------------------------------------------------------- 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 | // GDataFeedMessage.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedMessage : GDataFeedBase { 25 | } 26 | 27 | 28 | + (GDataFeedMessage *)messageFeedWithXMLData:(NSData *)data; 29 | 30 | + (GDataFeedMessage *)messageFeed; 31 | 32 | + (void)load; 33 | 34 | - (Class)classForEntries; 35 | 36 | @end 37 | 38 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 39 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataFeedMessage.m: -------------------------------------------------------------------------------- 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 | // GDataFeedMessage.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataFeedMessage.h" 23 | #import "GDataEntryMessage.h" 24 | 25 | @implementation GDataFeedMessage 26 | 27 | + (GDataFeedMessage *)messageFeedWithXMLData:(NSData *)data { 28 | return [self feedWithXMLData:data]; 29 | } 30 | 31 | + (GDataFeedMessage *)messageFeed { 32 | GDataFeedMessage *feed = [self object]; 33 | [feed setNamespaces:[GDataEntryBase baseGDataNamespaces]]; 34 | return feed; 35 | } 36 | 37 | + (NSString *)standardFeedKind { 38 | return kGDataMessage; 39 | } 40 | 41 | + (void)load { 42 | [self registerFeedClass]; 43 | } 44 | 45 | - (Class)classForEntries { 46 | return [GDataEntryMessage class]; 47 | } 48 | 49 | @end 50 | 51 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 52 | -------------------------------------------------------------------------------- /Source/Clients/Calendar/GDataRecurrence.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataRecurrence.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // a gd:recurrence, as in 25 | // 26 | // 27 | // DTSTART;TZID=America/Los_Angeles:20060314T060000 28 | // DURATION:PT3600S ... 29 | // END:DAYLIGHT 30 | // END:VTIMEZONE 31 | // 32 | // 33 | // http://code.google.com/apis/gdata/common-elements.html#gdRecurrence 34 | // 35 | // See RFC 2445: http://www.ietf.org/rfc/rfc2445.txt 36 | 37 | 38 | @interface GDataRecurrence : GDataObject { 39 | } 40 | 41 | + (GDataRecurrence *)recurrenceWithString:(NSString *)str; 42 | 43 | - (void)setStringValue:(NSString *)str; 44 | - (NSString *)stringValue; 45 | @end 46 | 47 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE 48 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataContactLanguage.h: -------------------------------------------------------------------------------- 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 | // GDataContactLanguage.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | @interface GDataContactLanguage : GDataObject 25 | 26 | + (id)languageWithCode:(NSString *)code 27 | label:(NSString *)label; 28 | 29 | - (NSString *)label; 30 | - (void)setLabel:(NSString *)str; 31 | 32 | - (NSString *)code; 33 | - (void)setCode:(NSString *)str; 34 | 35 | @end 36 | 37 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 38 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataContactLink.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataContactLink.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | @interface GDataContactLink : GDataObject 25 | 26 | + (id)linkWithRel:(NSString *)rel 27 | label:(NSString *)label 28 | href:(NSString *)href; 29 | 30 | - (NSString *)label; 31 | - (void)setLabel:(NSString *)str; 32 | 33 | - (NSString *)rel; 34 | - (void)setRel:(NSString *)str; 35 | 36 | - (NSString *)href; 37 | - (void)setHref:(NSString *)str; 38 | 39 | - (BOOL)isPrimary; 40 | - (void)setIsPrimary:(BOOL)flag; 41 | @end 42 | 43 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 44 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataContactUserDefinedField.h: -------------------------------------------------------------------------------- 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 | // GDataContactUserDefinedField.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | #import "GDataValueConstruct.h" 24 | 25 | // end-user visible client-defined fields 26 | 27 | @interface GDataContactUserDefinedField : GDataNameValueConstruct 28 | 29 | + (id)userDefinedFieldWithKey:(NSString *)key 30 | value:(NSString *)value; 31 | 32 | // supports -stringValue and -setStringValue from the superclass 33 | 34 | - (NSString *)key; 35 | - (void)setKey:(NSString *)str; 36 | 37 | @end 38 | 39 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 40 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataContacts.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataContacts.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | #import "GDataContactConstants.h" 23 | 24 | #import "GDataContactElements.h" 25 | #import "GDataContactEvent.h" 26 | #import "GDataContactExternalID.h" 27 | #import "GDataContactJot.h" 28 | #import "GDataContactLanguage.h" 29 | #import "GDataContactLink.h" 30 | #import "GDataContactPriority.h" 31 | #import "GDataContactRelation.h" 32 | #import "GDataContacts.h" 33 | #import "GDataContactSensitivity.h" 34 | #import "GDataContactUserDefinedField.h" 35 | #import "GDataGroupMembershipInfo.h" 36 | 37 | #import "GDataEntryContactBase.h" 38 | #import "GDataEntryContact.h" 39 | #import "GDataEntryContactGroup.h" 40 | #import "GDataEntryContactProfile.h" 41 | #import "GDataFeedContact.h" 42 | #import "GDataFeedContactGroup.h" 43 | #import "GDataFeedContactProfile.h" 44 | #import "GDataServiceGoogleContact.h" 45 | #import "GDataQueryContact.h" 46 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataEntryContactProfile.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryContactProfile.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataEntryContactBase.h" 23 | 24 | 25 | @interface GDataEntryContactProfile : GDataEntryContactBase 26 | + (id)contactProfileEntry; 27 | @end 28 | 29 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 30 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataEntryContactProfile.m: -------------------------------------------------------------------------------- 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 | // GDataEntryContactProfile.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataEntryContactProfile.h" 23 | #import "GDataContactConstants.h" 24 | 25 | @implementation GDataEntryContactProfile 26 | 27 | + (id)contactProfileEntry { 28 | GDataEntryContactProfile *obj = [self object]; 29 | [obj setNamespaces:[GDataContactConstants contactNamespaces]]; 30 | return obj; 31 | } 32 | 33 | + (NSString *)standardEntryKind { 34 | return kGDataCategoryContactProfile; 35 | } 36 | 37 | + (void)load { 38 | [self registerEntryClass]; 39 | } 40 | 41 | + (NSString *)defaultServiceVersion { 42 | return kGDataContactDefaultServiceVersion; 43 | } 44 | 45 | @end 46 | 47 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 48 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataFeedContact.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedContact.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedContact : GDataFeedBase 25 | 26 | + (GDataFeedContact *)contactFeed; 27 | 28 | - (Class)classForEntries; 29 | 30 | // convenience accessor 31 | - (NSArray *)entriesWithGroupHref:(NSString *)href; 32 | @end 33 | 34 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 35 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataFeedContactGroup.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedContactGroup.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedContactGroup : GDataFeedBase 25 | 26 | + (GDataFeedContactGroup *)contactGroupFeed; 27 | 28 | - (Class)classForEntries; 29 | 30 | // convenience method 31 | - (id)entryForSystemGroupID:(NSString *)str; 32 | 33 | @end 34 | 35 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 36 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataFeedContactProfile.h: -------------------------------------------------------------------------------- 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 | // GDataFeedContacProfile.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedContactProfile : GDataFeedBase 25 | 26 | + (GDataFeedContactProfile *)contactProfileFeed; 27 | 28 | @end 29 | 30 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 31 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataGroupMembershipInfo.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataGroupMembershipInfo.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // 25 | // group membership info 26 | // 27 | // 28 | // 29 | // http://code.google.com/apis/contacts/reference.html#groupMembershipInfo 30 | 31 | @interface GDataGroupMembershipInfo : GDataObject { 32 | } 33 | 34 | + (GDataGroupMembershipInfo *)groupMembershipInfoWithHref:(NSString *)str; 35 | 36 | - (NSString *)href; 37 | - (void)setHref:(NSString *)str; 38 | 39 | - (BOOL)isDeleted; 40 | - (void)setIsDeleted:(BOOL)flag; 41 | 42 | @end 43 | 44 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 45 | -------------------------------------------------------------------------------- /Source/Clients/Contacts/GDataQueryContact.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataQueryContact.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | // Contact API query parameters 23 | // 24 | // http://code.google.com/apis/contacts/reference.html#Parameters 25 | 26 | #import "GDataQuery.h" 27 | 28 | @interface GDataQueryContact : GDataQuery 29 | 30 | + (GDataQueryContact *)contactQueryWithFeedURL:(NSURL *)feedURL; 31 | 32 | + (GDataQueryContact *)contactQueryForUserID:(NSString *)userID; 33 | 34 | - (NSString *)groupIdentifier; 35 | - (void)setGroupIdentifier:(NSString *)str; 36 | 37 | @end 38 | 39 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 40 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataDocElements.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataDocElements.m 18 | // 19 | // Elements used by the Docs API 20 | // 21 | 22 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 23 | 24 | #import "GDataPerson.h" 25 | #import "GDataValueConstruct.h" 26 | 27 | @interface GDataLastModifiedBy : GDataPerson 28 | @end 29 | 30 | @interface GDataQuotaType : GDataValueElementConstruct 31 | @end 32 | 33 | @interface GDataQuotaBytesTotal : GDataValueElementConstruct 34 | @end 35 | 36 | @interface GDataQuotaBytesUsed : GDataValueElementConstruct 37 | @end 38 | 39 | @interface GDataDocLargestChangestamp : GDataValueConstruct 40 | @end 41 | 42 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 43 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataDocFeature.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 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 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 17 | 18 | // 19 | // GDataDocFeature.h 20 | // 21 | 22 | #import "GDataObject.h" 23 | #import "GDataValueConstruct.h" 24 | 25 | // a docs feature, such as 26 | // 27 | // 28 | // ocr 29 | // rate 30 | // 31 | 32 | @interface GDataDocFeature : GDataObject 33 | - (NSString *)featureName; 34 | - (void)setFeatureName:(NSString *)str; 35 | 36 | - (NSString *)featureRate; 37 | - (void)setFeatureRate:(NSString *)str; 38 | @end 39 | 40 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 41 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataDocMaxUploadSize.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 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 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 17 | 18 | // 19 | // GDataDocMaxUploadSize.h 20 | // 21 | 22 | #import "GDataObject.h" 23 | #import "GDataValueConstruct.h" 24 | 25 | // an upload size, such as 26 | // 27 | // 3124125 28 | 29 | @interface GDataDocMaxUploadSize : GDataValueElementConstruct 30 | // For the value, use 31 | // 32 | // - (NSNumber *)longLongNumberValue; 33 | // - (long long)longLongValue; 34 | // - (void)setLongLongValue:(long long)val; 35 | 36 | - (NSString *)uploadKind; 37 | - (void)setUploadKind:(NSString *)str; 38 | @end 39 | 40 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 41 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataDocTransferFormat.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 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 | // GDataDocTransferFormat.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // an import or export format, as in 25 | // 26 | 27 | @interface GDataDocTransferFormat : GDataObject 28 | - (NSString *)source; 29 | - (void)setSource:(NSString *)str; 30 | 31 | - (NSString *)target; 32 | - (void)setTarget:(NSString *)str; 33 | @end 34 | 35 | @interface GDataDocImportFormat : GDataDocTransferFormat 36 | @end 37 | 38 | @interface GDataDocExportFormat : GDataDocTransferFormat 39 | @end 40 | 41 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 42 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataDocs.h: -------------------------------------------------------------------------------- 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 | // GDataDocs.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | 23 | // Google Doc List 24 | #import "GDataDocConstants.h" 25 | #import "GDataEntryDocBase.h" 26 | #import "GDataEntryStandardDoc.h" 27 | #import "GDataEntrySpreadsheetDoc.h" 28 | #import "GDataEntryPresentationDoc.h" 29 | #import "GDataEntryPDFDoc.h" 30 | #import "GDataEntrySiteDoc.h" 31 | #import "GDataEntryTableDoc.h" 32 | #import "GDataEntryDrawingDoc.h" 33 | #import "GDataEntryFileDoc.h" 34 | #import "GDataEntryFolderDoc.h" 35 | #import "GDataEntryDocRevision.h" 36 | #import "GDataEntryDocListMetadata.h" 37 | #import "GDataEntryDocChange.h" 38 | #import "GDataFeedDocList.h" 39 | #import "GDataFeedDocRevision.h" 40 | #import "GDataFeedDocChange.h" 41 | #import "GDataServiceGoogleDocs.h" 42 | #import "GDataQueryDocs.h" 43 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryDocChange.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataEntryDocChange.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryDocChange : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryDocChange.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataEntryDocChange.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocChange.h" 23 | 24 | @implementation GDataEntryDocChange 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryDocChange; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryDrawingDoc.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 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 | // GDataEntryDrawingDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryDrawingDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryDrawingDoc.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 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 | // GDataEntryDrawingDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDrawingDoc.h" 23 | 24 | @implementation GDataEntryDrawingDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryDrawingDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryFileDoc.h: -------------------------------------------------------------------------------- 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 | // GDataEntryFileDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryFileDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryFileDoc.m: -------------------------------------------------------------------------------- 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 | // GDataEntryFileDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryFileDoc.h" 23 | 24 | @implementation GDataEntryFileDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryFileDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryFolderDoc.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryFolderDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryFolderDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryFolderDoc.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryFolderDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryFolderDoc.h" 23 | 24 | @implementation GDataEntryFolderDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryFolderDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryPDFDoc.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryPDFDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryPDFDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryPDFDoc.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryPDFDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryPDFDoc.h" 23 | 24 | @implementation GDataEntryPDFDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryPDFDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryPresentationDoc.h: -------------------------------------------------------------------------------- 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 | // GDataEntryPresentationDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryPresentationDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryPresentationDoc.m: -------------------------------------------------------------------------------- 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 | // GDataEntryPresentationDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryPresentationDoc.h" 23 | 24 | @implementation GDataEntryPresentationDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryPresentationDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntrySiteDoc.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataEntrySiteDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntrySiteDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntrySiteDoc.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataEntrySiteDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntrySiteDoc.h" 23 | 24 | @implementation GDataEntrySiteDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategorySiteDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntrySpreadsheetDoc.h: -------------------------------------------------------------------------------- 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 | // GDataEntrySpreadsheetDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | 25 | @interface GDataEntrySpreadsheetDoc : GDataEntryDocBase 26 | 27 | // convenience accessors 28 | - (GDataLink *)worksheetsLink; 29 | - (GDataLink *)tablesLink; 30 | 31 | @end 32 | 33 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 34 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryStandardDoc.h: -------------------------------------------------------------------------------- 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 | // GDataEntryStandardDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryStandardDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryStandardDoc.m: -------------------------------------------------------------------------------- 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 | // GDataEntryStandardDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryStandardDoc.h" 23 | 24 | @implementation GDataEntryStandardDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryStandardDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryTableDoc.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 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 | // GDataEntryTableDoc.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryDocBase.h" 23 | 24 | @interface GDataEntryTableDoc : GDataEntryDocBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataEntryTableDoc.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 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 | // GDataEntryTableDoc.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataEntryTableDoc.h" 23 | 24 | @implementation GDataEntryTableDoc 25 | 26 | + (NSString *)standardEntryKind { 27 | return kGDataCategoryTableDoc; 28 | } 29 | 30 | + (void)load { 31 | [self registerEntryClass]; 32 | } 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataFeedDocChange.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011 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 | // GDataFeedDocChange.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedDocChange : GDataFeedBase 25 | 26 | - (NSNumber *)largestChangestamp; // long long 27 | - (void)setLargestChangestamp:(NSNumber *)val; 28 | 29 | // convenience accessor 30 | - (NSNumber *)lastEntryChangestamp; 31 | 32 | @end 33 | 34 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 35 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataFeedDocList.h: -------------------------------------------------------------------------------- 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 | // GDataFeedDocList.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedDocList : GDataFeedBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataFeedDocList.m: -------------------------------------------------------------------------------- 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 | // GDataFeedDocList.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataFeedDocList.h" 23 | #import "GDataDocConstants.h" 24 | #import "GDataEntryDocBase.h" 25 | 26 | @implementation GDataFeedDocList 27 | 28 | + (NSString *)coreProtocolVersionForServiceVersion:(NSString *)serviceVersion { 29 | return [GDataDocConstants coreProtocolVersionForServiceVersion:serviceVersion]; 30 | } 31 | 32 | + (NSString *)standardFeedKind { 33 | return kGDataCategoryDocItem; 34 | } 35 | 36 | + (void)load { 37 | [self registerFeedClass]; 38 | } 39 | 40 | + (Class)defaultClassForEntries { 41 | return [GDataEntryDocBase class]; 42 | } 43 | 44 | + (NSString *)defaultServiceVersion { 45 | return kGDataDocsDefaultServiceVersion; 46 | } 47 | @end 48 | 49 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 50 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataFeedDocRevision.h: -------------------------------------------------------------------------------- 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 | // GDataFeedDocRevision.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedDocRevision : GDataFeedBase 25 | @end 26 | 27 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 28 | -------------------------------------------------------------------------------- /Source/Clients/Docs/GDataFeedDocRevision.m: -------------------------------------------------------------------------------- 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 | // GDataFeedDocRevision.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 21 | 22 | #import "GDataFeedDocRevision.h" 23 | #import "GDataDocConstants.h" 24 | #import "GDataEntryDocRevision.h" 25 | 26 | @implementation GDataFeedDocRevision 27 | 28 | + (NSString *)coreProtocolVersionForServiceVersion:(NSString *)serviceVersion { 29 | return [GDataDocConstants coreProtocolVersionForServiceVersion:serviceVersion]; 30 | } 31 | 32 | + (NSString *)standardFeedKind { 33 | return kGDataCategoryDocRevision; 34 | } 35 | 36 | + (void)load { 37 | [self registerFeedClass]; 38 | } 39 | 40 | + (NSString *)defaultServiceVersion { 41 | return kGDataDocsDefaultServiceVersion; 42 | } 43 | 44 | - (Class)classForEntries { 45 | return [GDataEntryDocRevision class]; 46 | } 47 | 48 | @end 49 | 50 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE 51 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataEntryPhotoBase.h: -------------------------------------------------------------------------------- 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 | // GDataEntryPhotoBase.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataPhotoElements.h" 24 | 25 | @interface GDataEntryPhotoBase : GDataEntryBase 26 | 27 | - (NSString *)GPhotoID; // 28 | - (void)setGPhotoID:(NSString *)str; 29 | 30 | // like in the Java library, we'll rename summary as description 31 | - (GDataTextConstruct *)photoDescription; 32 | - (void)setPhotoDescription:(GDataTextConstruct *)obj; 33 | - (void)setPhotoDescriptionWithString:(NSString *)str; 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataEntryPhotoComment.h: -------------------------------------------------------------------------------- 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 | // GDataEntryPhotoComment.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 21 | 22 | #import "GDataEntryPhotoBase.h" 23 | 24 | @interface GDataEntryPhotoComment : GDataEntryPhotoBase { 25 | } 26 | 27 | + (GDataEntryPhotoComment *)commentEntryWithString:(NSString *)commentStr; 28 | 29 | - (NSString *)albumID; 30 | - (void)setAlbumID:(NSString *)str; 31 | 32 | - (NSString *)photoID; 33 | - (void)setPhotoID:(NSString *)str; 34 | 35 | @end 36 | 37 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 38 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataEntryPhotoTag.h: -------------------------------------------------------------------------------- 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 | // GDataEntryPhotoTag.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 21 | 22 | #import "GDataEntryPhotoBase.h" 23 | 24 | @interface GDataEntryPhotoTag : GDataEntryPhotoBase { 25 | } 26 | 27 | + (GDataEntryPhotoTag *)tagEntryWithString:(NSString *)tagStr; 28 | 29 | - (NSNumber *)weight; // int 30 | - (void)setWeight:(NSNumber *)obj; 31 | @end 32 | 33 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 34 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataEntryPhotoUser.h: -------------------------------------------------------------------------------- 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 | // GDataEntryPhotoUser.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 21 | 22 | #import "GDataEntryPhotoBase.h" 23 | 24 | @interface GDataEntryPhotoUser : GDataEntryPhotoBase { 25 | } 26 | 27 | + (GDataEntryPhotoUser *)userEntry; 28 | 29 | - (NSNumber *)maxPhotosPerAlbum; // long long 30 | - (void)setMaxPhotosPerAlbum:(NSNumber *)num; 31 | 32 | - (NSString *)nickname; 33 | - (void)setNickname:(NSString *)str; 34 | 35 | - (NSString *)thumbnail; 36 | - (void)setThumbnail:(NSString *)str; 37 | 38 | - (NSNumber *)quotaLimit; // long long 39 | - (void)setQuotaLimit:(NSNumber *)num; 40 | 41 | - (NSNumber *)quotaUsed; // long long 42 | - (void)setQuotaUsed:(NSNumber *)num; 43 | 44 | - (NSString *)username; 45 | - (void)setUsername:(NSString *)str; 46 | 47 | @end 48 | 49 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 50 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataFeedPhotoBase.h: -------------------------------------------------------------------------------- 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 | // GDataFeedPhotoBase.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @class GDataEntryPhotoBase; 25 | 26 | @interface GDataFeedPhotoBase : GDataFeedBase { 27 | } 28 | 29 | 30 | - (Class)classForEntries; 31 | 32 | 33 | - (NSString *)GPhotoID; 34 | - (void)setGPhotoID:(NSString *)str; 35 | 36 | // like in the Java library, we'll rename subtitle as description 37 | - (GDataTextConstruct *)photoDescription; 38 | - (void)setPhotoDescription:(GDataTextConstruct *)obj; 39 | - (void)setPhotoDescriptionWithString:(NSString *)str; 40 | 41 | // convenience accessors 42 | - (id)entryForGPhotoID:(NSString *)str; 43 | @end 44 | 45 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 46 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataFeedPhotoUser.h: -------------------------------------------------------------------------------- 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 | // GDataFeedPhotoBase.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 21 | 22 | #import "GDataFeedPhotoBase.h" 23 | #import "GDataPhotoElements.h" 24 | 25 | @interface GDataFeedPhotoUser : GDataFeedPhotoBase { 26 | } 27 | 28 | + (GDataFeedPhotoUser *)userFeed; 29 | 30 | - (NSNumber *)maxPhotosPerAlbum; // long long 31 | - (void)setMaxPhotosPerAlbum:(NSNumber *)num; 32 | 33 | - (NSString *)nickname; 34 | - (void)setNickname:(NSString *)str; 35 | 36 | - (NSString *)thumbnail; 37 | - (void)setThumbnail:(NSString *)str; 38 | 39 | - (NSNumber *)quotaLimit; // long long 40 | - (void)setQuotaLimit:(NSNumber *)num; 41 | 42 | - (NSNumber *)quotaUsed; // long long 43 | - (void)setQuotaUsed:(NSNumber *)num; 44 | 45 | - (NSString *)username; 46 | - (void)setUsername:(NSString *)str; 47 | @end 48 | 49 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE 50 | -------------------------------------------------------------------------------- /Source/Clients/Photos/GDataPhotos.h: -------------------------------------------------------------------------------- 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 | // GDataPhotos.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | #import "GDataMedia.h" 22 | 23 | // Google Photos 24 | #import "GDataPhotoConstants.h" 25 | #import "GDataPhotoElements.h" 26 | #import "GDataEXIFTags.h" 27 | #import "GDataEntryPhotoBase.h" 28 | #import "GDataEntryPhoto.h" 29 | #import "GDataEntryPhotoAlbum.h" 30 | #import "GDataEntryPhotoComment.h" 31 | #import "GDataEntryPhotoTag.h" 32 | #import "GDataEntryPhotoUser.h" 33 | #import "GDataFeedPhotoBase.h" 34 | #import "GDataFeedPhoto.h" 35 | #import "GDataFeedPhotoAlbum.h" 36 | #import "GDataFeedPhotoUser.h" 37 | #import "GDataServiceGooglePhotos.h" 38 | #import "GDataQueryGooglePhotos.h" 39 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataEntrySpreadsheet.h: -------------------------------------------------------------------------------- 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 | // GDataEntrySpreadsheet.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | #import "GDataSpreadsheetConstants.h" 25 | 26 | // SpreadsheetEntry extensions 27 | 28 | @interface GDataEntrySpreadsheet : GDataEntryBase 29 | 30 | + (GDataEntrySpreadsheet *)spreadsheetEntry; 31 | 32 | // convenience accessors 33 | - (GDataLink *)spreadsheetLink; // link to web version 34 | - (GDataLink *)tablesFeedLink; 35 | - (NSURL *)worksheetsFeedURL; 36 | 37 | @end 38 | 39 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 40 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataEntrySpreadsheetCell.h: -------------------------------------------------------------------------------- 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 | // GDataEntrySpreadsheetCell.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @class GDataSpreadsheetCell; 25 | 26 | // SpreadsheetCellEntry extensions 27 | 28 | @interface GDataEntrySpreadsheetCell : GDataEntryBase 29 | 30 | + (GDataEntrySpreadsheetCell *)spreadsheetCellEntryWithCell:(GDataSpreadsheetCell *)cell; 31 | 32 | - (GDataSpreadsheetCell *)cell; 33 | - (void)setCell:(GDataSpreadsheetCell *)cell; 34 | 35 | - (GDataLink *)sourceLink; 36 | 37 | @end 38 | 39 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 40 | 41 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataEntrySpreadsheetRecord.h: -------------------------------------------------------------------------------- 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 | // GDataEntrySpreadsheetRecord.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @class GDataSpreadsheetField; 25 | 26 | @interface GDataEntrySpreadsheetRecord : GDataEntryBase 27 | 28 | + (GDataEntrySpreadsheetRecord *)recordEntry; 29 | 30 | - (NSArray *)fields; 31 | - (void)setFields:(NSArray *)array; 32 | - (void)addField:(GDataSpreadsheetField *)obj; 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataFeedSpreadsheet.h: -------------------------------------------------------------------------------- 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 | // GDataFeedSpreadsheet.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedSpreadsheet : GDataFeedBase { 25 | } 26 | 27 | 28 | + (GDataFeedSpreadsheet *)spreadsheetFeedWithXMLData:(NSData *)data; 29 | 30 | + (GDataFeedSpreadsheet *)spreadsheetFeed; 31 | 32 | - (Class)classForEntries; 33 | @end 34 | 35 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 36 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataFeedSpreadsheetCell.h: -------------------------------------------------------------------------------- 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 | // GDataFeedSpreadsheetCell.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedSpreadsheetCell : GDataFeedBase 25 | 26 | + (GDataFeedSpreadsheetCell *)spreadsheetCellFeedWithXMLData:(NSData *)data; 27 | 28 | + (GDataFeedSpreadsheetCell *)spreadsheetCellFeed; 29 | 30 | - (Class)classForEntries; 31 | 32 | // extensions 33 | - (NSInteger)rowCount; 34 | - (NSInteger)columnCount; 35 | 36 | @end 37 | 38 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 39 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataFeedSpreadsheetList.h: -------------------------------------------------------------------------------- 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 | // GDataFeedSpreadsheetList.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedSpreadsheetList : GDataFeedBase { 25 | } 26 | 27 | 28 | + (GDataFeedSpreadsheetList *)spreadsheetListFeedWithXMLData:(NSData *)data; 29 | 30 | + (GDataFeedSpreadsheetList *)spreadsheetListFeed; 31 | 32 | - (Class)classForEntries; 33 | @end 34 | 35 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 36 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataFeedSpreadsheetRecord.h: -------------------------------------------------------------------------------- 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.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedSpreadsheetRecord : GDataFeedBase 25 | 26 | + (GDataFeedSpreadsheetRecord *)spreadsheetRecordFeed; 27 | 28 | @end 29 | 30 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 31 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataFeedSpreadsheetTable.h: -------------------------------------------------------------------------------- 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.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedSpreadsheetTable : GDataFeedBase 25 | 26 | + (GDataFeedSpreadsheetTable *)spreadsheetTableFeed; 27 | 28 | @end 29 | 30 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 31 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataFeedWorksheet.h: -------------------------------------------------------------------------------- 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 | // GDataFeedWorksheet.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedWorksheet : GDataFeedBase { 25 | } 26 | 27 | 28 | + (GDataFeedWorksheet *)worksheetFeedWithXMLData:(NSData *)data; 29 | 30 | + (GDataFeedWorksheet *)worksheetFeed; 31 | 32 | - (Class)classForEntries; 33 | @end 34 | 35 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 36 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataSpreadsheetColumn.h: -------------------------------------------------------------------------------- 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 | // GDataSpreadsheetColumn.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // For table columns, like: 25 | // 26 | 27 | @interface GDataSpreadsheetColumn : GDataObject 28 | 29 | + (GDataSpreadsheetColumn *)columnWithIndexString:(NSString *)indexStr 30 | name:(NSString *)name; 31 | 32 | - (NSString *)name; 33 | - (void)setName:(NSString *)str; 34 | 35 | - (NSString *)indexString; 36 | - (void)setIndexString:(NSString *)str; 37 | 38 | @end 39 | 40 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 41 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataSpreadsheetField.h: -------------------------------------------------------------------------------- 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 | // GDataSpreadsheetField.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // For table fields, like: 25 | // Noah 26 | 27 | @interface GDataSpreadsheetField : GDataObject 28 | 29 | + (GDataSpreadsheetField *)fieldWithName:(NSString *)name 30 | value:(NSString *)value; 31 | 32 | - (NSString *)name; 33 | - (void)setName:(NSString *)str; 34 | 35 | - (NSString *)indexString; 36 | - (void)setIndexString:(NSString *)str; 37 | 38 | - (NSString *)formula; 39 | - (void)setFormula:(NSString *)str; 40 | 41 | - (NSString *)value; 42 | - (void)setValue:(NSString *)str; 43 | 44 | @end 45 | 46 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 47 | -------------------------------------------------------------------------------- /Source/Clients/Spreadsheets/GDataSpreadsheetHeader.h: -------------------------------------------------------------------------------- 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 | // GDataSpreadsheetHeader.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | #import "GDataValueConstruct.h" 25 | 26 | // For spreadsheet header, like 27 | // 28 | 29 | @interface GDataSpreadsheetHeader : GDataValueConstruct 30 | 31 | + (GDataSpreadsheetHeader *)headerWithRow:(int)row; 32 | 33 | - (NSNumber *)row; // int 34 | - (void)setRow:(NSNumber *)num; 35 | 36 | @end 37 | 38 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_SPREADSHEET_SERVICE 39 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeCaptionTrack.h: -------------------------------------------------------------------------------- 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 | // GDataEntryYouTubeCaptionTrack.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataYouTubePublicationState.h" 24 | 25 | @interface GDataEntryYouTubeCaptionTrack : GDataEntryBase 26 | 27 | + (GDataEntryYouTubeCaptionTrack *)captionTrackEntry; 28 | 29 | - (GDataYouTubePublicationState *)publicationState; 30 | - (void)setGDataYouTubePublicationState:(GDataYouTubePublicationState *)obj; 31 | 32 | - (NSString *)derived; 33 | - (void)setDerived:(NSString *)str; 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeChannel.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeChannel.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataEntryYouTubeFeedLinkBase.h" 24 | 25 | @interface GDataEntryYouTubeChannel : GDataEntryBase 26 | 27 | + (GDataEntryYouTubeChannel *)channelEntry; 28 | 29 | // channelType is a convenience accessor to get the term value from 30 | // the channel category element for this entry 31 | - (NSString *)channelType; 32 | 33 | - (NSArray *)feedLinks; 34 | 35 | // convenience accessors 36 | - (GDataFeedLink *)uploadsFeedLink; 37 | - (GDataFeedLink *)featuredFeedLink; 38 | 39 | @end 40 | 41 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 42 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeComment.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeComment.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @interface GDataEntryYouTubeComment : GDataEntryBase 25 | 26 | + (GDataEntryYouTubeComment *)commentEntry; 27 | 28 | - (NSNumber *)totalRating; // int 29 | - (void)setTotalRating:(NSNumber *)num; 30 | 31 | - (BOOL)hasSpam; 32 | - (void)setHasSpam:(BOOL)flag; 33 | 34 | @end 35 | 36 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 37 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeComplaint.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeComplaint.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @interface GDataEntryYouTubeComplaint : GDataEntryBase 25 | 26 | + (GDataEntryYouTubeComplaint *)complaintEntry; 27 | 28 | - (NSURL *)videoURL; 29 | 30 | @end 31 | 32 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 33 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeFavorite.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeFavorite.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataYouTubeElements.h" 23 | #import "GDataEntryYouTubeVideo.h" 24 | 25 | @interface GDataEntryYouTubeFavorite : GDataEntryYouTubeVideo 26 | 27 | @end 28 | 29 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 30 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeFavorite.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeFavorite.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryYouTubeFavorite.h" 23 | #import "GDataYouTubeConstants.h" 24 | 25 | @implementation GDataEntryYouTubeFavorite 26 | 27 | + (GDataEntryYouTubeFavorite *)favoriteEntry { 28 | 29 | GDataEntryYouTubeFavorite *entry = [self object]; 30 | 31 | [entry setNamespaces:[GDataYouTubeConstants youTubeNamespaces]]; 32 | 33 | return entry; 34 | } 35 | 36 | #pragma mark - 37 | 38 | + (NSString *)standardEntryKind { 39 | return kGDataCategoryYouTubeFavorite; 40 | } 41 | 42 | + (void)load { 43 | [self registerEntryClass]; 44 | } 45 | 46 | @end 47 | 48 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 49 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeFeedLinkBase.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeFeedLinkBase.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataFeedLink.h" 24 | #import "GDataMediaGroup.h" 25 | #import "GDataYouTubeElements.h" 26 | 27 | // this is the superclass for GDataEntryYouTubeSubscription and 28 | // GDataEntryYouTubePlaylistLink 29 | 30 | @interface GDataEntryYouTubeFeedLinkBase : GDataEntryBase 31 | 32 | - (GDataMediaGroup *)mediaGroup; 33 | - (void)setMediaGroup:(GDataMediaGroup *)obj; 34 | 35 | - (NSString *)countHint; 36 | - (void)setCountHint:(NSString *)str; 37 | 38 | - (NSString *)playlistID; 39 | - (void)setPlaylistID:(NSString *)str; 40 | 41 | @end 42 | 43 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 44 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeFriend.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeFriend.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | 24 | @interface GDataEntryYouTubeFriend : GDataEntryBase 25 | 26 | + (GDataEntryYouTubeFriend *)friendEntry; 27 | 28 | - (NSString *)username; 29 | - (void)setUsername:(NSString *)str; 30 | 31 | - (NSString *)status; 32 | - (void)setStatus:(NSString *)str; 33 | 34 | // to get the user profile link, use [[feed links] relatedLink] 35 | 36 | @end 37 | 38 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 39 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubePlaylist.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubePlaylist.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryYouTubeVideo.h" 23 | #import "GDataYouTubeElements.h" 24 | 25 | @interface GDataEntryYouTubePlaylist : GDataEntryYouTubeVideo 26 | 27 | + (GDataEntryYouTubePlaylist *)playlistEntry; 28 | 29 | - (GDataYouTubePosition *)position; 30 | - (void)setPosition:(GDataYouTubePosition *)obj; 31 | @end 32 | 33 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 34 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubePlaylistLink.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubePlaylistLink.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryYouTubeFeedLinkBase.h" 23 | 24 | @interface GDataEntryYouTubePlaylistLink : GDataEntryYouTubeFeedLinkBase 25 | 26 | + (GDataEntryYouTubePlaylistLink *)playlistLinkEntry; 27 | 28 | - (BOOL)isPrivate; 29 | - (void)setIsPrivate:(BOOL)flag; 30 | 31 | @end 32 | 33 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 34 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeRating.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeRating.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataYouTubeRating.h" 24 | 25 | @interface GDataEntryYouTubeRating : GDataEntryBase 26 | + (GDataEntryYouTubeRating *)ratingEntryWithValue:(NSString *)value; 27 | 28 | - (GDataYouTubeRating *)rating; 29 | - (void)setRating:(GDataYouTubeRating *)obj; 30 | @end 31 | 32 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 33 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeSubscription.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeSubscription.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataEntryBase.h" 23 | #import "GDataEntryYouTubeFeedLinkBase.h" 24 | 25 | @interface GDataEntryYouTubeSubscription : GDataEntryYouTubeFeedLinkBase 26 | 27 | + (GDataEntryYouTubeSubscription *)subscriptionEntry; 28 | 29 | // subscriptionType is a convenience accessor to get the term value from 30 | // the subscription category element for this entry 31 | - (NSString *)subscriptionType; 32 | 33 | - (NSString *)username; 34 | - (void)setUsername:(NSString *)str; 35 | 36 | - (NSString *)youTubeQueryString; 37 | - (void)setYouTubeQueryString:(NSString *)str; 38 | 39 | - (NSString *)playlistTitle; 40 | - (void)setPlaylistTitle:(NSString *)str; 41 | 42 | @end 43 | 44 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 45 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeVideoMessage.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeVideoMessage.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataYouTubeElements.h" 23 | #import "GDataEntryYouTubeVideo.h" 24 | 25 | @interface GDataEntryYouTubeVideoMessage : GDataEntryYouTubeVideo 26 | 27 | + (GDataEntryYouTubeVideoMessage *)videoMessageEntry; 28 | 29 | @end 30 | 31 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 32 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataEntryYouTubeVideoMessage.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataEntryYouTubeVideoMessage.m 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataYouTubeConstants.h" 23 | #import "GDataEntryYouTubeVideoMessage.h" 24 | 25 | @implementation GDataEntryYouTubeVideoMessage 26 | 27 | + (GDataEntryYouTubeVideoMessage *)videoMessageEntry { 28 | 29 | GDataEntryYouTubeVideoMessage *entry; 30 | 31 | entry = [self object]; 32 | 33 | [entry setNamespaces:[GDataYouTubeConstants youTubeNamespaces]]; 34 | 35 | return entry; 36 | } 37 | 38 | #pragma mark - 39 | 40 | + (NSString *)standardEntryKind { 41 | return kGDataCategoryYouTubeVideoMessage; 42 | } 43 | 44 | + (void)load { 45 | [self registerEntryClass]; 46 | } 47 | 48 | @end 49 | 50 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 51 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeCaptionTrack.h: -------------------------------------------------------------------------------- 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 | // GDataFeedYouTubeCaptionTrack.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeCaptionTrack : GDataFeedBase 25 | + (GDataFeedYouTubeCaptionTrack *)captionTrackFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeChannel.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeChannel.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeChannel : GDataFeedBase 25 | + (GDataFeedYouTubeChannel *)channelFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeComment.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeComment.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeComment : GDataFeedBase 25 | + (GDataFeedYouTubeComment *)commentFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeComplaint.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeComplaint.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeComplaint : GDataFeedBase 25 | + (GDataFeedYouTubeComplaint *)complaintFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeFavorite.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeFavorite.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeFavorite : GDataFeedBase 25 | + (GDataFeedYouTubeFavorite *)favoriteFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeFriend.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeFriend.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeFriend : GDataFeedBase 25 | + (GDataFeedYouTubeFriend *)friendFeed; 26 | 27 | // to get the user profile link, use [[feed links] relatedLink] 28 | @end 29 | 30 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 31 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubePlaylist.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubePlaylist.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | #import "GDataYouTubeMediaElements.h" 24 | 25 | @interface GDataFeedYouTubePlaylist : GDataFeedBase 26 | + (GDataFeedYouTubePlaylist *)playlistFeed; 27 | 28 | - (BOOL)isPrivate; 29 | - (void)setIsPrivate:(BOOL)flag; 30 | 31 | - (GDataYouTubeMediaGroup *)mediaGroup; 32 | - (void)setMediaGroup:(GDataYouTubeMediaGroup *)obj; 33 | 34 | - (NSString *)playlistID; 35 | - (void)setPlaylistID:(NSString *)str; 36 | @end 37 | 38 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 39 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubePlaylistLink.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubePlaylistLink.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubePlaylistLink : GDataFeedBase 25 | + (GDataFeedYouTubePlaylistLink *)playlistLinkFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeRating.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeRating.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeRating : GDataFeedBase 25 | + (GDataFeedYouTubeRating *)ratingFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeSubscription.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeSubscription.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeSubscription : GDataFeedBase 25 | + (GDataFeedYouTubeSubscription *)subscriptionFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeUserEvent.h: -------------------------------------------------------------------------------- 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 | // GDataFeedYouTubeUserEvent.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeUserEvent : GDataFeedBase 25 | + (GDataFeedYouTubeUserEvent *)userEventFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeUserProfile.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeUserProfile.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeUserProfile : GDataFeedBase 25 | + (GDataFeedYouTubeUserProfile *)userProfileFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeVideo.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeVideo.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | @interface GDataFeedYouTubeVideo : GDataFeedBase 25 | + (GDataFeedYouTubeVideo *)videoFeed; 26 | @end 27 | 28 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 29 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataFeedYouTubeVideoMessage.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataFeedYouTubeVideoMessage.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataFeedBase.h" 23 | 24 | // Note: the video message *entry* is a subclass of the YouTube video entry, 25 | // but this feed class derives just from GDataFeedBase, not from the 26 | // video feed class 27 | 28 | @interface GDataFeedYouTubeVideoMessage : GDataFeedBase 29 | + (GDataFeedYouTubeVideoMessage *)videoMessageFeed; 30 | @end 31 | 32 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 33 | -------------------------------------------------------------------------------- /Source/Clients/YouTube/GDataYouTubeRating.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 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 | // GDataYouTubeRating.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // YouTube like/dislike rating, like 25 | // 26 | // 27 | // 28 | // or 29 | // 30 | // 31 | 32 | @interface GDataYouTubeRating : GDataObject 33 | + (GDataYouTubeRating *)ratingWithValue:(NSString *)value; 34 | 35 | - (NSString *)value; 36 | - (void)setValue:(NSString *)str; 37 | 38 | - (NSNumber *)numberOfLikes; // int 39 | - (void)setNumberOfLikes:(NSNumber *)num; 40 | 41 | - (NSNumber *)numberOfDislikes; // int 42 | - (void)setNumberOfDislikes:(NSNumber *)num; 43 | @end 44 | 45 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE 46 | -------------------------------------------------------------------------------- /Source/Elements/GDataAtomPubControl.h: -------------------------------------------------------------------------------- 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 | // GDataAtomPubControl.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | // For app:control, like: 23 | // yes 24 | 25 | @interface GDataAtomPubControl : GDataObject 26 | + (GDataAtomPubControl *)atomPubControl; 27 | + (GDataAtomPubControl *)atomPubControlWithIsDraft:(BOOL)isDraft; 28 | 29 | - (BOOL)isDraft; 30 | - (void)setIsDraft:(BOOL)flag; 31 | @end 32 | -------------------------------------------------------------------------------- /Source/Elements/GDataBatchID.h: -------------------------------------------------------------------------------- 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 | // GDataBatchID.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | // For batchID, like: 23 | // item2 24 | 25 | @interface GDataBatchID : GDataObject { 26 | } 27 | 28 | + (GDataBatchID *)batchIDWithString:(NSString *)str; 29 | 30 | - (NSString *)stringValue; 31 | - (void)setStringValue:(NSString *)str; 32 | 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /Source/Elements/GDataBatchID.m: -------------------------------------------------------------------------------- 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 | // GDataBatchID.m 18 | // 19 | 20 | #import "GDataBatchID.h" 21 | 22 | @implementation GDataBatchID 23 | 24 | // For batchID, like: 25 | // item2 26 | 27 | + (NSString *)extensionElementURI { return kGDataNamespaceBatch; } 28 | + (NSString *)extensionElementPrefix { return kGDataNamespaceBatchPrefix; } 29 | + (NSString *)extensionElementLocalName { return @"id"; } 30 | 31 | 32 | + (GDataBatchID *)batchIDWithString:(NSString *)str { 33 | GDataBatchID *obj = [self object]; 34 | [obj setStringValue:str]; 35 | return obj; 36 | } 37 | 38 | - (void)addParseDeclarations { 39 | [self addContentValueDeclaration]; 40 | } 41 | 42 | - (NSString *)stringValue { 43 | return [self contentStringValue]; 44 | } 45 | 46 | - (void)setStringValue:(NSString *)str { 47 | [self setContentStringValue:str]; 48 | } 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /Source/Elements/GDataBatchInterrupted.h: -------------------------------------------------------------------------------- 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 | // GDataBatchInterrupted.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | 23 | // for batch Interrupteds, like 24 | // 25 | 26 | @interface GDataBatchInterrupted : GDataObject { 27 | } 28 | 29 | + (GDataBatchInterrupted *)batchInterrupted; 30 | 31 | - (NSString *)reason; 32 | - (void)setReason:(NSString *)str; 33 | 34 | - (NSNumber *)successCount; 35 | - (void)setSuccessCount:(NSNumber *)val; 36 | 37 | - (NSNumber *)errorCount; 38 | - (void)setErrorCount:(NSNumber *)val; 39 | 40 | - (NSNumber *)totalCount; 41 | - (void)setTotalCount:(NSNumber *)val; 42 | 43 | - (NSString *)contentType; 44 | - (void)setContentType:(NSString *)str; 45 | 46 | - (NSString *)stringValue; 47 | - (void)setStringValue:(NSString *)str; 48 | @end 49 | -------------------------------------------------------------------------------- /Source/Elements/GDataBatchStatus.h: -------------------------------------------------------------------------------- 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 | // GDataBatchStatus.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | @class GDataFeedBase; 23 | 24 | // a batch response status 25 | // 28 | // 29 | // 30 | // 31 | // 32 | 33 | @interface GDataBatchStatus : GDataObject { 34 | } 35 | 36 | + (GDataBatchStatus *)batchStatusWithCode:(NSInteger)code 37 | reason:(NSString *)reason; 38 | 39 | - (NSString *)reason; 40 | - (void)setReason:(NSString *)str; 41 | 42 | - (NSNumber *)code; 43 | - (void)setCode:(NSNumber *)val; 44 | 45 | - (NSString *)contentType; 46 | - (void)setContentType:(NSString *)str; 47 | 48 | - (NSString *)stringValue; 49 | - (void)setStringValue:(NSString *)str; 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /Source/Elements/GDataComment.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataComment.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE \ 21 | || GDATA_INCLUDE_CALENDAR_SERVICE || GDATA_INCLUDE_YOUTUBE_SERVICE 22 | 23 | #import "GDataObject.h" 24 | #import "GDataFeedLink.h" 25 | 26 | // a commments entry, as in 27 | // 28 | // 29 | // 30 | // 31 | // http://code.google.com/apis/gdata/common-elements.html#gdComments 32 | 33 | @interface GDataComment : GDataObject { 34 | } 35 | 36 | + (GDataComment *)commentWithFeedLink:(GDataFeedLink *)feedLink; 37 | 38 | - (NSString *)rel; 39 | - (void)setRel:(NSString *)str; 40 | 41 | - (GDataFeedLink *)feedLink; 42 | - (void)setFeedLink:(GDataFeedLink *)feedLink; 43 | @end 44 | 45 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE 46 | -------------------------------------------------------------------------------- /Source/Elements/GDataDeleted.h: -------------------------------------------------------------------------------- 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 | // GDataDeleted.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | #import "GDataValueConstruct.h" 22 | 23 | // marker for a deleted entry, as in 24 | // 25 | 26 | @interface GDataDeleted : GDataImplicitValueConstruct 27 | 28 | + (GDataDeleted *)deleted; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Source/Elements/GDataDeleted.m: -------------------------------------------------------------------------------- 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 | // GDataDeleted.m 18 | // 19 | 20 | #import "GDataDeleted.h" 21 | 22 | @implementation GDataDeleted 23 | // marker for a deleted entry, as in 24 | // 25 | 26 | + (NSString *)extensionElementURI { return kGDataNamespaceGData; } 27 | + (NSString *)extensionElementPrefix { return kGDataNamespaceGDataPrefix; } 28 | + (NSString *)extensionElementLocalName { return @"deleted"; } 29 | 30 | + (GDataDeleted *)deleted { 31 | return [self implicitValue]; 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Source/Elements/GDataElements.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataElements.h 18 | // 19 | // Common classes needed for any service 20 | // 21 | 22 | #import "GDataFramework.h" 23 | 24 | // utility classes 25 | #if GTM_USE_SESSION_FETCHER 26 | #import "GTMSessionFetcher.h" 27 | #import "GTMSessionFetcherLogging.h" 28 | #import "GTMSessionUploadFetcher.h" 29 | #else 30 | #import "GTMHTTPFetcher.h" 31 | #import "GTMHTTPFetcherLogging.h" 32 | #import "GTMHTTPUploadFetcher.h" 33 | #endif // GTM_USE_SESSION_FETCHER 34 | 35 | #import "GTMGatherInputStream.h" 36 | #import "GTMMIMEDocument.h" 37 | 38 | #import "GDataDateTime.h" 39 | #import "GDataServerError.h" 40 | 41 | // base classes 42 | #import "GDataObject.h" 43 | #import "GDataEntryBase.h" 44 | #import "GDataFeedBase.h" 45 | #import "GDataServiceBase.h" 46 | #import "GDataServiceGoogle.h" 47 | #import "GDataQuery.h" 48 | -------------------------------------------------------------------------------- /Source/Elements/GDataEmail.h: -------------------------------------------------------------------------------- 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 | // GDataEmail.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | 25 | // email element 26 | // 27 | // 28 | // http://code.google.com/apis/gdata/common-elements.html#gdEmail 29 | 30 | @interface GDataEmail : GDataObject 31 | 32 | + (GDataEmail *)emailWithLabel:(NSString *)label 33 | address:(NSString *)address; 34 | 35 | - (NSString *)label; 36 | - (void)setLabel:(NSString *)str; 37 | 38 | - (NSString *)address; 39 | - (void)setAddress:(NSString *)str; 40 | 41 | - (NSString *)rel; 42 | - (void)setRel:(NSString *)str; 43 | 44 | - (BOOL)isPrimary; 45 | - (void)setIsPrimary:(BOOL)flag; 46 | 47 | @end 48 | 49 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 50 | -------------------------------------------------------------------------------- /Source/Elements/GDataEntryLink.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataEntryLink.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | @class GDataEntryBase; 23 | 24 | // used inside GDataWhere, a link to an entry, like 25 | // 26 | @interface GDataEntryLink : GDataObject { 27 | GDataEntryBase *entry_; 28 | } 29 | 30 | + (GDataEntryLink *)entryLinkWithHref:(NSString *)href 31 | isReadOnly:(BOOL)isReadOnly; 32 | 33 | - (id)initWithXMLElement:(NSXMLElement *)element 34 | parent:(GDataObject *)parent; 35 | 36 | - (NSXMLElement *)XMLElement; 37 | 38 | - (NSString *)href; 39 | - (void)setHref:(NSString *)str; 40 | 41 | - (BOOL)isReadOnly; 42 | - (void)setIsReadOnly:(BOOL)isReadOnly; 43 | 44 | - (NSString *)rel; 45 | - (void)setRel:(NSString *)str; 46 | 47 | - (GDataEntryBase *)entry; 48 | - (void)setEntry:(GDataEntryBase *)entry; 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Source/Elements/GDataGenerator.h: -------------------------------------------------------------------------------- 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 | // GDataGenerator.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | // Feed generator element, as in 23 | // CL2 24 | @interface GDataGenerator : GDataObject { 25 | } 26 | + (GDataGenerator *)generatorWithName:(NSString *)name 27 | version:(NSString *)version 28 | URI:(NSString *)uri; 29 | 30 | - (NSString *)name; 31 | - (void)setName:(NSString *)str; 32 | 33 | - (NSString *)version; 34 | - (void)setVersion:(NSString *)str; 35 | 36 | - (NSString *)URI; 37 | - (void)setURI:(NSString *)str; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Source/Elements/GDataMoney.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataMoney.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_FINANCE_SERVICE || GDATA_INCLUDE_BOOKS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // money element, as in 25 | // 26 | 27 | @interface GDataMoney : GDataObject 28 | 29 | + (GDataMoney *)moneyWithAmount:(NSNumber *)amount 30 | currencyCode:(NSString *)currencyCode; 31 | 32 | - (NSDecimalNumber *)amount; 33 | - (void)setAmount:(NSNumber *)num; 34 | 35 | - (NSString *)currencyCode; 36 | - (void)setCurrencyCode:(NSString *)str; 37 | @end 38 | 39 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_FINANCE_SERVICE || GDATA_INCLUDE_BOOKS_SERVICE 40 | -------------------------------------------------------------------------------- /Source/Elements/GDataOrganizationName.h: -------------------------------------------------------------------------------- 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 | // GDataOrganizationName.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | #import "GDataValueConstruct.h" 24 | 25 | // organization name 26 | // Acme Corp 27 | 28 | @interface GDataOrganizationName : GDataObject 29 | 30 | + (id)organizationNameWithString:(NSString *)str; 31 | 32 | - (NSString *)stringValue; 33 | - (void)setStringValue:(NSString *)str; 34 | 35 | - (NSString *)yomi; 36 | - (void)setYomi:(NSString *)str; 37 | 38 | @end 39 | 40 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 41 | -------------------------------------------------------------------------------- /Source/Elements/GDataPerson.h: -------------------------------------------------------------------------------- 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 | // GDataPerson.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | // a person, as in 22 | // 23 | // Fred Flintstone 24 | // test@domain.net 25 | // 26 | @interface GDataPerson : GDataObject 27 | 28 | + (GDataPerson *)personWithName:(NSString *)name email:(NSString *)email; 29 | 30 | - (NSString *)name; 31 | - (void)setName:(NSString *)str; 32 | 33 | - (NSString *)nameLang; 34 | - (void)setNameLang:(NSString *)str; 35 | 36 | - (NSString *)URI; 37 | - (void)setURI:(NSString *)str; 38 | 39 | - (NSString *)email; 40 | - (void)setEmail:(NSString *)str; 41 | @end 42 | -------------------------------------------------------------------------------- /Source/Elements/GDataPostalAddress.h: -------------------------------------------------------------------------------- 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 | // GDataPostalAddress.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 21 | 22 | #import "GDataObject.h" 23 | 24 | // postal address, as in 25 | // 26 | // 500 West 45th Street 27 | // New York, NY 10036 28 | // 29 | // 30 | // http://code.google.com/apis/gdata/common-elements.html#gdPostalAddress 31 | 32 | @interface GDataPostalAddress : GDataObject { 33 | } 34 | 35 | + (GDataPostalAddress *)postalAddressWithString:(NSString *)str; 36 | 37 | - (NSString *)label; 38 | - (void)setLabel:(NSString *)str; 39 | 40 | - (NSString *)stringValue; 41 | - (void)setStringValue:(NSString *)str; 42 | 43 | - (NSString *)rel; 44 | - (void)setRel:(NSString *)str; 45 | 46 | - (BOOL)isPrimary; 47 | - (void)setIsPrimary:(BOOL)flag; 48 | @end 49 | 50 | #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE 51 | -------------------------------------------------------------------------------- /Source/Elements/GDataTextConstruct.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataTextConstruct.h 18 | // 19 | 20 | #import "GDataObject.h" 21 | 22 | // For typed text, like: Event title 23 | // 24 | // type can be text, text/plain, html, text/html, xhtml, or other things 25 | @interface GDataTextConstruct : GDataObject { 26 | } 27 | 28 | + (id)textConstructWithString:(NSString *)str; 29 | 30 | - (NSString *)stringValue; 31 | - (void)setStringValue:(NSString *)str; 32 | - (NSString *)lang; 33 | - (void)setLang:(NSString *)str; 34 | - (NSString *)type; 35 | - (void)setType:(NSString *)str; 36 | 37 | @end 38 | 39 | -------------------------------------------------------------------------------- /Source/GData.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GData.h 18 | // 19 | 20 | // Client services. Rather than include GData.h, applications 21 | // can include just the client service header needed, like 22 | // #import "GData/GDataCalendar.h" 23 | 24 | #import "GDataBlogger.h" 25 | #import "GDataCalendar.h" 26 | #import "GDataContacts.h" 27 | #import "GDataDocs.h" 28 | #import "GDataPhotos.h" 29 | #import "GDataSpreadsheet.h" 30 | #import "GDataYouTube.h" 31 | 32 | // Optional common interfaces 33 | #import "GDataACL.h" 34 | #import "GDataServiceIntrospection.h" 35 | -------------------------------------------------------------------------------- /Source/GDataFramework.m: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-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 | #include "GDataFramework.h" 17 | 18 | void GDataFrameworkVersion(NSUInteger* major, NSUInteger* minor, NSUInteger* release) { 19 | // version 1.12 20 | if (major) *major = 1; 21 | if (minor) *minor = 12; 22 | if (release) *release = 0; 23 | } 24 | 25 | NSString *GDataFrameworkVersionString(void) { 26 | NSUInteger major, minor, release; 27 | NSString *libVersionString; 28 | 29 | GDataFrameworkVersion(&major, &minor, &release); 30 | 31 | // most library releases will have a release value of zero 32 | if (release != 0) { 33 | libVersionString = [NSString stringWithFormat:@"%d.%d.%d", 34 | (int)major, (int)minor, (int)release]; 35 | } else { 36 | libVersionString = [NSString stringWithFormat:@"%d.%d", 37 | (int)major, (int)minor]; 38 | } 39 | return libVersionString; 40 | } 41 | -------------------------------------------------------------------------------- /Source/Introspection/GDataServiceIntrospection.h: -------------------------------------------------------------------------------- 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 | // GDataServiceIntrospection.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | // 23 | // This group of classes is used for retrieving the service documents 24 | // that describe a feed's supported features (AtomPub introspection, 25 | // ). 26 | // 27 | // Client applications that do not need to retrieve service documents may 28 | // omit these classes. 29 | // 30 | 31 | #import "GDataAtomCategoryGroup.h" 32 | #import "GDataAtomCollection.h" 33 | #import "GDataAtomServiceDocument.h" 34 | #import "GDataAtomWorkspace.h" 35 | -------------------------------------------------------------------------------- /Source/Media/GDataMedia.h: -------------------------------------------------------------------------------- 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 | // GDataMedia.h 18 | // 19 | 20 | #import "GDataElements.h" 21 | 22 | #import "GDataNormalPlayTime.h" 23 | #import "GDataMediaContent.h" 24 | #import "GDataMediaCategory.h" 25 | #import "GDataMediaCredit.h" 26 | #import "GDataMediaGroup.h" 27 | #import "GDataMediaKeywords.h" 28 | #import "GDataMediaThumbnail.h" 29 | #import "GDataMediaPlayer.h" 30 | #import "GDataMediaRating.h" 31 | #import "GDataMediaRestriction.h" 32 | -------------------------------------------------------------------------------- /Source/Media/GDataMediaCategory.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataMediaCategory.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE \ 21 | || GDATA_INCLUDE_YOUTUBE_SERVICE 22 | 23 | #import "GDataObject.h" 24 | 25 | // like 26 | // music/artist/album/song 27 | // http://search.yahoo.com/mrss 28 | 29 | @interface GDataMediaCategory : GDataObject { 30 | } 31 | 32 | + (GDataMediaCategory *)mediaCategoryWithString:(NSString *)str; 33 | 34 | - (NSString *)label; 35 | - (void)setLabel:(NSString *)str; 36 | 37 | - (NSString *)scheme; 38 | - (void)setScheme:(NSString *)str; 39 | 40 | - (NSString *)stringValue; 41 | - (void)setStringValue:(NSString *)str; 42 | 43 | @end 44 | 45 | #endif // #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE 46 | -------------------------------------------------------------------------------- /Source/Media/GDataMediaCredit.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataMediaCredit.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE \ 21 | || GDATA_INCLUDE_YOUTUBE_SERVICE 22 | 23 | #import "GDataObject.h" 24 | 25 | // like entity name 26 | // http://search.yahoo.com/mrss 27 | 28 | @interface GDataMediaCredit : GDataObject { 29 | } 30 | 31 | + (GDataMediaCredit *)mediaCreditWithString:(NSString *)str; 32 | 33 | - (NSString *)role; 34 | - (void)setRole:(NSString *)str; 35 | 36 | - (NSString *)scheme; 37 | - (void)setScheme:(NSString *)str; 38 | 39 | - (NSString *)stringValue; 40 | - (void)setStringValue:(NSString *)str; 41 | 42 | @end 43 | 44 | #endif // #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE 45 | -------------------------------------------------------------------------------- /Source/Media/GDataMediaPlayer.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007-2008 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 | // GDataMediaPlayer.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE \ 21 | || GDATA_INCLUDE_YOUTUBE_SERVICE 22 | 23 | #import "GDataObject.h" 24 | 25 | // like 26 | // 27 | // http://search.yahoo.com/mrss 28 | 29 | @interface GDataMediaPlayer : GDataObject { 30 | } 31 | 32 | + (GDataMediaPlayer *)mediaPlayerWithURLString:(NSString *)str; 33 | 34 | - (NSString *)URLString; 35 | - (void)setURLString:(NSString *)str; 36 | 37 | - (NSNumber *)height; // int 38 | - (void)setHeight:(NSNumber *)num; 39 | 40 | - (NSNumber *)width; // int 41 | - (void)setWidth:(NSNumber *)num; 42 | @end 43 | 44 | #endif // #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE 45 | -------------------------------------------------------------------------------- /Source/Media/GDataMediaRating.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2008 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 | // GDataMediaRating.h 18 | // 19 | 20 | #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE \ 21 | || GDATA_INCLUDE_YOUTUBE_SERVICE 22 | 23 | #import "GDataObject.h" 24 | 25 | // like adult 26 | // 27 | // http://search.yahoo.com/mrss 28 | 29 | @interface GDataMediaRating : GDataObject { 30 | } 31 | 32 | + (GDataMediaRating *)mediaRatingWithString:(NSString *)str; 33 | 34 | - (NSString *)scheme; 35 | - (void)setScheme:(NSString *)str; 36 | 37 | - (NSString *)stringValue; 38 | - (void)setStringValue:(NSString *)str; 39 | 40 | @end 41 | 42 | #endif // #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_*_SERVICE 43 | -------------------------------------------------------------------------------- /Source/Resources/DevelopmentTestApplication-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | APPL 15 | CFBundleSignature 16 | ???? 17 | CFBundleVersion 18 | 1.1 19 | NSMainNibFile 20 | MainMenu 21 | NSPrincipalClass 22 | NSApplication 23 | 24 | 25 | -------------------------------------------------------------------------------- /Source/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/gdata-objectivec-client/0840dfce16565ef1c9b192cdf024e193eddaaf62/Source/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Source/Resources/GDataFramework-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | FMWK 15 | CFBundleSignature 16 | ???? 17 | CFBundleVersion 18 | 1.12 19 | 20 | 21 | -------------------------------------------------------------------------------- /Source/Resources/GDataUnitTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleSignature 16 | ???? 17 | CFBundleVersion 18 | 1.12 19 | 20 | 21 | -------------------------------------------------------------------------------- /Source/Tests/EntrySpreadsheetCellTest1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://spreadsheets.google.com/feeds/cells/o04181601172097104111.497668944883620000/od6/private/full/R1C1 4 | 2007-03-22T23:28:50.977Z 5 | 6 | A1 7 | Fred 8 | 11 | 14 | Fred 15 | 16 | -------------------------------------------------------------------------------- /Source/Tests/FeedCalendarEventTest0.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | http://www.google.com/calendar/feeds/test%40gmail.com/private/full 6 | 2006-11-03T21:17:40.000Z 7 | Fred Flintstone 8 | Fred Flintstone 9 | 12 | 15 | 18 | 19 | Fred Flintstone 20 | fred@gmail.com 21 | 22 | Google Calendar 23 | 1 24 | 100000 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Source/Tests/FeedMessageTest1.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 2006-11-14T00:03:38.535Z 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Jo March 16 | jo@example.com 17 | 18 | http://mymail.example.com/feeds/jo/home/full/e1a2af06df8a563edf9d32ec9fd61e03f7f3b67b 19 | 2006-01-18T21:00:00Z 20 | 2006-01-18T21:00:00Z 21 | Re: Info? 22 | Hi, Fritz -- The information you're looking for is on p. 47. 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Source/Tests/FeedServiceDocTest2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | fredflintstone workspace 5 | 6 | filetypes 7 | image/png 8 | image/jpeg 9 | image/gif 10 | video/* 11 | image/jpg 12 | 13 | 14 | 15 | Second Workspace 16 | 17 | Remaindered Links 18 | entry 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Source/Tests/GDataElementsTest.h: -------------------------------------------------------------------------------- 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 | // GDataElementsTest.h 18 | // 19 | 20 | #import 21 | 22 | typedef struct ElementTestKeyPathValues { 23 | NSString *str1; 24 | NSString *str2; 25 | } ElementTestKeyPathValues; 26 | 27 | 28 | 29 | @interface GDataElementsTest : XCTestCase { 30 | 31 | } 32 | 33 | 34 | + (id)valueInObject:(id)obj forKeyPathIncludingArrays:(NSString *)keyPath; 35 | 36 | - (void)runElementTests:(ElementTestKeyPathValues *)tests; 37 | 38 | - (NSString *)entryNamespaceString; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Source/Tests/GDataFeedTest.h: -------------------------------------------------------------------------------- 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 | // GDataFeedTest.h 18 | // 19 | 20 | #import 21 | 22 | typedef struct TestKeyPathValues { 23 | NSString *str1; 24 | NSString *str2; 25 | } TestKeyPathValues; 26 | 27 | @interface GDataFeedTest : XCTestCase { 28 | 29 | } 30 | 31 | - (void)runTests:(TestKeyPathValues *)tests; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Source/Tests/main.m: -------------------------------------------------------------------------------- 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 | #import 18 | #import "GData.h" 19 | 20 | int main(int argc, char *argv[]) { 21 | 22 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 23 | 24 | NSLog(@"DevelopmentTestTool running"); 25 | 26 | [pool release]; 27 | 28 | return 0; 29 | } 30 | --------------------------------------------------------------------------------