PageRenderTime 33ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Docs/GDataDocTransferFormat.h

http://macfuse.googlecode.com/
C++ Header | 41 lines | 13 code | 9 blank | 19 comment | 1 complexity | 02dcf2835b0b7c03bc5d4d59f9c11eab MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
  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. // GDataDocTransferFormat.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE
  19. #import "GDataObject.h"
  20. // an import or export format, as in
  21. // <docs:exportFormat source='document' target='text/plain' />
  22. @interface GDataDocTransferFormat : GDataObject
  23. - (NSString *)source;
  24. - (void)setSource:(NSString *)str;
  25. - (NSString *)target;
  26. - (void)setTarget:(NSString *)str;
  27. @end
  28. @interface GDataDocImportFormat : GDataDocTransferFormat <GDataExtension>
  29. @end
  30. @interface GDataDocExportFormat : GDataDocTransferFormat <GDataExtension>
  31. @end
  32. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_DOCS_SERVICE