-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
120 lines (86 loc) Β· 3.16 KB
/
Copy path__init__.py
File metadata and controls
120 lines (86 loc) Β· 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
"""
Python mapping for the CoreWLAN framework.
This module does not contain docstrings for the wrapped code, check Apple's
documentation for details on how to use these functions and classes.
"""
def _setup():
import sys
import Foundation
import objc
from . import _metadata, _CoreWLAN
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
name="CoreWLAN",
frameworkIdentifier="com.apple.framework.CoreWLAN",
frameworkPath=objc.pathForFramework(
"/System/Library/Frameworks/CoreWLAN.framework"
),
globals_dict=globals(),
inline_list=None,
parents=(
_CoreWLAN,
Foundation,
),
metadict=_metadata.__dict__,
)
globals()["__dir__"] = dir_func
globals()["__getattr__"] = getattr_func
del sys.modules["CoreWLAN._metadata"]
def _CW8021XProfile__eq__(self, other):
if not isinstance(other, type(self)):
return False
return self.isEqualToProfile_(other)
def _CW8021XProfile__ne__(self, other):
if not isinstance(other, type(self)):
return True
return not self.isEqualToProfile_(other)
objc.addConvenienceForClass(
"CW8021XProfile",
(("__eq__", _CW8021XProfile__eq__), ("__ne__", _CW8021XProfile__ne__)),
)
def _CWChannel__eq__(self, other):
if not isinstance(other, type(self)):
return False
return self.isEqualToChannel_(other)
def _CWChannel__ne__(self, other):
if not isinstance(other, type(self)):
return True
return not self.isEqualToChannel_(other)
objc.addConvenienceForClass(
"CWChannel", (("__eq__", _CWChannel__eq__), ("__ne__", _CWChannel__ne__))
)
def _CWConfiguration__eq__(self, other):
if not isinstance(other, type(self)):
return False
return self.isEqualToConfiguration_(other)
def _CWConfiguration__ne__(self, other):
if not isinstance(other, type(self)):
return True
return not self.isEqualToConfiguration_(other)
objc.addConvenienceForClass(
"CWConfiguration",
(("__eq__", _CWConfiguration__eq__), ("__ne__", _CWConfiguration__ne__)),
)
def _CWNetwork__eq__(self, other):
if not isinstance(other, type(self)):
return False
return self.isEqualToNetwork_(other)
def _CWNetwork__ne__(self, other):
if not isinstance(other, type(self)):
return True
return not self.isEqualToNetwork_(other)
objc.addConvenienceForClass(
"CWNetwork", (("__eq__", _CWNetwork__eq__), ("__ne__", _CWNetwork__ne__))
)
def _CWNetworkProfile__eq__(self, other):
if not isinstance(other, type(self)):
return False
return self.isEqualToNetworkProfile_(other)
def _CWNetworkProfile__ne__(self, other):
if not isinstance(other, type(self)):
return True
return not self.isEqualToNetworkProfile_(other)
objc.addConvenienceForClass(
"CWNetworkProfile",
(("__eq__", _CWNetworkProfile__eq__), ("__ne__", _CWNetworkProfile__ne__)),
)
globals().pop("_setup")()