PageRenderTime 13ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/google-toolbox-for-mac/Foundation/GTMServiceManagementTestingHarness.c

http://macfuse.googlecode.com/
C | 32 lines | 13 code | 2 blank | 17 comment | 2 complexity | 818d4cc489996f33d04597d3ef8012b5 MD5 | raw file
 1//
 2//  GTMServiceManagementTestingHarness.c
 3//
 4//  Copyright 2010 Google Inc.
 5//
 6//  Licensed under the Apache License, Version 2.0 (the "License"); you may not
 7//  use this file except in compliance with the License.  You may obtain a copy
 8//  of the License at
 9//
10//  http://www.apache.org/licenses/LICENSE-2.0
11//
12//  Unless required by applicable law or agreed to in writing, software
13//  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14//  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
15//  License for the specific language governing permissions and limitations under
16//  the License.
17//
18
19#include "GTMServiceManagement.h"
20
21int main(int argc, const char** argv) {
22#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
23  CFErrorRef error = NULL;
24  CFDictionaryRef dict = GTMSMCopyJobCheckInDictionary(&error);
25  if (!dict) {
26    CFShow(error);
27  } else {
28    CFRelease(dict);
29  }
30#endif //  if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
31  return 0;
32}