PageRenderTime 23ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/core/externals/update-engine/Core/KSUpdateEngine+Configuration.m

http://macfuse.googlecode.com/
Objective C | 38 lines | 17 code | 8 blank | 13 comment | 0 complexity | 017a0e801846c2e2f506c31b43bfa583 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
  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 "KSUpdateEngine+Configuration.h"
  15. #import "KSCheckAction.h"
  16. #import "KSInstallAction.h"
  17. @implementation KSUpdateEngine (Configuration)
  18. + (NSString *)installScriptPrefix {
  19. return [KSInstallAction installScriptPrefix];
  20. }
  21. + (void)setInstallScriptPrefix:(NSString *)prefix {
  22. [KSInstallAction setInstallScriptPrefix:prefix];
  23. }
  24. + (Class)serverClass {
  25. return [KSCheckAction serverClass];
  26. }
  27. + (void)setServerClass:(Class)serverClass {
  28. [KSCheckAction setServerClass:serverClass];
  29. }
  30. @end