pyobjc-framework-InstantMessage 10.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,35 @@
1
+ """
2
+ Python mapping for the InstantMessage framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import Quartz
14
+ import objc
15
+ from . import _metadata
16
+
17
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
18
+ name="InstantMessage",
19
+ frameworkIdentifier="com.apple.iChat.InstantMessage",
20
+ frameworkPath=objc.pathForFramework(
21
+ "/System/Library/Frameworks/InstantMessage.framework"
22
+ ),
23
+ globals_dict=globals(),
24
+ inline_list=None,
25
+ parents=(Foundation, Quartz),
26
+ metadict=_metadata.__dict__,
27
+ )
28
+
29
+ globals()["__dir__"] = dir_func
30
+ globals()["__getattr__"] = getattr_func
31
+
32
+ del sys.modules["InstantMessage._metadata"]
33
+
34
+
35
+ globals().pop("_setup")()
@@ -0,0 +1,125 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sat May 18 09:30:29 2024
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$IMAVManagerStateChangedNotification$IMAVManagerURLToShareChangedNotification$IMCapabilityAudioConference$IMCapabilityDirectIM$IMCapabilityFileSharing$IMCapabilityFileTransfer$IMCapabilityText$IMCapabilityVideoConference$IMMyStatusChangedNotification$IMPersonAVBusyKey$IMPersonCapabilitiesKey$IMPersonEmailKey$IMPersonFirstNameKey$IMPersonIdleSinceKey$IMPersonInfoChangedNotification$IMPersonLastNameKey$IMPersonPictureDataKey$IMPersonScreenNameKey$IMPersonServiceNameKey$IMPersonStatusChangedNotification$IMPersonStatusKey$IMPersonStatusMessageKey$IMServiceStatusChangedNotification$IMStatusImagesChangedAppearanceNotification$"""
34
+ enums = """$IMAVInactive@0$IMAVPending@4$IMAVRequested@1$IMAVRunning@5$IMAVShuttingDown@2$IMAVStartingUp@3$IMPersonStatusAvailable@4$IMPersonStatusAway@3$IMPersonStatusIdle@2$IMPersonStatusNoStatus@5$IMPersonStatusOffline@1$IMPersonStatusUnknown@0$IMServiceStatusDisconnected@1$IMServiceStatusLoggedIn@4$IMServiceStatusLoggedOut@0$IMServiceStatusLoggingIn@3$IMServiceStatusLoggingOut@2$IMVideoOptimizationDefault@0$IMVideoOptimizationReplacement@2$IMVideoOptimizationStills@1$"""
35
+ misc.update({})
36
+ misc.update({})
37
+ misc.update({})
38
+ functions = {"IMComparePersonStatus": (b"qQQ",)}
39
+ r = objc.registerMetaDataForSelector
40
+ objc._updatingMetadata(True)
41
+ try:
42
+ r(b"IMAVControl", b"isEnabled", {"retval": {"type": b"Z"}})
43
+ r(b"IMAVControl", b"setAction:", {"arguments": {2: {"sel_of_type": b"v@:@"}}})
44
+ r(b"IMAVControl", b"setEnabled:", {"arguments": {2: {"type": b"Z"}}})
45
+ r(
46
+ b"NSObject",
47
+ b"getOpenGLBufferContext:pixelFormat:",
48
+ {
49
+ "retval": {"type": b"v"},
50
+ "arguments": {
51
+ 2: {"type": b"^^{_CGLContextObject=}", "type_modifier": b"o"},
52
+ 3: {"type": b"^^{_CGLPixelFormatObject=}", "type_modifier": b"o"},
53
+ },
54
+ },
55
+ )
56
+ r(
57
+ b"NSObject",
58
+ b"getPixelBufferPixelFormat:",
59
+ {
60
+ "retval": {"type": b"v"},
61
+ "arguments": {2: {"type": b"^I", "type_modifier": b"o"}},
62
+ },
63
+ )
64
+ r(
65
+ b"NSObject",
66
+ b"renderIntoOpenGLBuffer:onScreen:forTime:",
67
+ {
68
+ "retval": {"type": "Z"},
69
+ "arguments": {
70
+ 2: {"type": "^{__CVBuffer=}"},
71
+ 3: {"type": b"^i", "type_modifier": b"n"},
72
+ 4: {
73
+ "type": b"^{CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}",
74
+ "type_modifier": b"n",
75
+ },
76
+ },
77
+ },
78
+ )
79
+ r(
80
+ b"NSObject",
81
+ b"renderIntoPixelBuffer:forTime:",
82
+ {
83
+ "retval": {"type": "Z"},
84
+ "arguments": {
85
+ 2: {"type": "^{__CVBuffer=}"},
86
+ 3: {
87
+ "type": b"^{CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}",
88
+ "type_modifier": b"n",
89
+ },
90
+ },
91
+ },
92
+ )
93
+ finally:
94
+ objc._updatingMetadata(False)
95
+ protocols = {
96
+ "IMVideoDataSource": objc.informal_protocol(
97
+ "IMVideoDataSource",
98
+ [
99
+ objc.selector(
100
+ None,
101
+ b"renderIntoPixelBuffer:forTime:",
102
+ b"Z@:^{__CVBuffer=}^{CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}",
103
+ isRequired=False,
104
+ ),
105
+ objc.selector(
106
+ None, b"getPixelBufferPixelFormat:", b"v@:^I", isRequired=False
107
+ ),
108
+ objc.selector(
109
+ None,
110
+ b"getOpenGLBufferContext:pixelFormat:",
111
+ b"v@:^^{_CGLContextObject=}^^{_CGLPixelFormatObject=}",
112
+ isRequired=False,
113
+ ),
114
+ objc.selector(
115
+ None,
116
+ b"renderIntoOpenGLBuffer:onScreen:forTime:",
117
+ b"Z@:^{__CVBuffer=}^i^{CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}",
118
+ isRequired=False,
119
+ ),
120
+ ],
121
+ )
122
+ }
123
+ expressions = {}
124
+
125
+ # END OF FILE
@@ -0,0 +1,10 @@
1
+ (This is the MIT license, note that libffi-src is a separate product with its own license)
2
+
3
+ Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
+ Copyright 2003-2024 - Ronald Oussoren
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,63 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-InstantMessage
3
+ Version: 10.3.2
4
+ Summary: Wrappers for the framework InstantMessage on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT License
9
+ Keywords: PyObjC,InstantMessage
10
+ Platform: MacOS X (>=10.5)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.8
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ License-File: LICENSE.txt
34
+ Requires-Dist: pyobjc-core>=10.3.2
35
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3.2
36
+ Requires-Dist: pyobjc-framework-Quartz>=10.3.2
37
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
38
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
39
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
40
+
41
+
42
+ Wrappers for "InstantMessage" framework on macOS 10.5 or later. This framework
43
+ allows you to access iChat information, as well as a way to provide an
44
+ auxiliary video source to iChat Theater.
45
+
46
+ These wrappers don't include documentation, please check Apple's documentation
47
+ for information on how to use this framework and PyObjC's documentation
48
+ for general tips and tricks regarding the translation between Python
49
+ and (Objective-)C frameworks
50
+
51
+ Note that this framework is deprecated in OSX 10.9, use the Social framework
52
+ instead if you target that OSX release.
53
+
54
+
55
+ Project links
56
+ -------------
57
+
58
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
59
+
60
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
61
+
62
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
63
+
@@ -0,0 +1,7 @@
1
+ InstantMessage/__init__.py,sha256=e5ZRUCUVgwZ3ACLQ9bwAgnl7m6mp0WV-r_UKvKZLRsU,896
2
+ InstantMessage/_metadata.py,sha256=I2HBJq9yaItSzmq0gSMzsXlv2O6GTrn7szs_pcA5sqk,4323
3
+ pyobjc_framework_InstantMessage-10.3.2.dist-info/LICENSE.txt,sha256=VBYOCJp5HziM90a14Txl68gt3y2rIJpcoZAoVkfX4Ho,1249
4
+ pyobjc_framework_InstantMessage-10.3.2.dist-info/METADATA,sha256=aNmsAl4QWw9Tf_c8GMWVPfjE_lX8LZ3ErUDLE0xIcq0,2589
5
+ pyobjc_framework_InstantMessage-10.3.2.dist-info/WHEEL,sha256=pxeNX5JdtCe58PUSYP9upmc7jdRPgvT0Gm9kb1SHlVw,109
6
+ pyobjc_framework_InstantMessage-10.3.2.dist-info/top_level.txt,sha256=ZFFCOIggeoURVRjDTOl89tHkH3nLUaPSpdbr9ZE_R_c,15
7
+ pyobjc_framework_InstantMessage-10.3.2.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
@@ -0,0 +1 @@
1
+ InstantMessage