• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-SystemConfiguration-2.5.1/Lib/SystemConfiguration/
1'''
2Python mapping for the SystemConfiguration framework.
3
4This module does not contain docstrings for the wrapped code, check Apple's
5documentation for details on how to use these functions and classes.
6'''
7import sys
8import objc
9import Foundation
10import SystemConfiguration._manual
11
12from SystemConfiguration import _metadata
13
14sys.modules['SystemConfiguration'] = mod = objc.ObjCLazyModule('SystemConfiguration',
15    "com.apple.SystemConfiguration",
16    objc.pathForFramework("/System/Library/Frameworks/SystemConfiguration.framework"),
17    _metadata.__dict__, None, {
18       '__doc__': __doc__,
19       '__path__': __path__,
20       'objc': objc,
21    }, ( Foundation, SystemConfiguration._manual,))
22
23import SystemConfiguration._manual as m
24for nm in dir(m):
25    setattr(mod, nm, getattr(m, nm))
26
27mod.SCBondInterfaceRef = mod.SCNetworkInterfaceRef
28mod.SCVLANInterfaceRef = mod.SCNetworkInterfaceRef
29