/core/externals/update-engine/Samples/EngineRunner/ERDryRunTicketCommand.h

http://macfuse.googlecode.com/ · C Header · 32 lines · 6 code · 3 blank · 23 comment · 0 complexity · bca48000e80ee1140286b0d77f09a96c MD5 · raw file

  1. // Copyright 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. #import "ERCommand.h"
  15. // ERDryRunTicketCommand runs the Update Engine machinery to see what
  16. // products would be updated given a ticket store, but doesn't
  17. // actually let the update happen.
  18. //
  19. // Required argument:
  20. // store : Path to the ticket store
  21. //
  22. // Optional argument:
  23. // productid : Only check for an update for this product ID
  24. //
  25. @interface ERDryRunTicketCommand : ERCommand {
  26. @private
  27. NSArray *products_; // The products that would be updated.
  28. }
  29. @end // ERDryRunTicketCommand