PageRenderTime 46ms CodeModel.GetById 41ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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