diff options
| author | FivePixels <o5pxels@gmail.com> | 2020-07-17 10:06:30 -0500 |
|---|---|---|
| committer | FivePixels <o5pxels@gmail.com> | 2020-07-17 10:06:30 -0500 |
| commit | 8a752c04771b28d82dce988849cad84ddaf3ea2c (patch) | |
| tree | 65df72d39d9ee9fb260a32c47be6bfb42cedf3ec /.theos/obj | |
| download | finical-master.tar.xz finical-master.zip | |
Diffstat (limited to '.theos/obj')
81 files changed, 1422 insertions, 0 deletions
diff --git a/.theos/obj/.stamp b/.theos/obj/.stamp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.theos/obj/.stamp diff --git a/.theos/obj/Finical.dylib b/.theos/obj/Finical.dylib Binary files differnew file mode 100755 index 0000000..3f0d545 --- /dev/null +++ b/.theos/obj/Finical.dylib diff --git a/.theos/obj/FinicalPrefs.bundle/Finical.plist b/.theos/obj/FinicalPrefs.bundle/Finical.plist new file mode 100644 index 0000000..d4c28ee --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/Finical.plist @@ -0,0 +1,200 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>items</key> + <array> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Settings</string> + <key>footerText</key> + <string>Respring your device to apply changes.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <true/> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>enabled</string> + <key>label</key> + <string>Enabled</string> + + </dict> + <dict> + <key>action</key> + <string>respring</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Respring</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Gesture Direction</string> + <key>footerText</key> + <string>The swipe direction to dismiss the Lockscreen player.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSegmentCell</string> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>dismissGesture</string> + <key>default</key> + <integer>2</integer> + <key>validTitles</key> + <array> + <string>Left</string> + <string>Right</string> + <string>Up</string> + <string>Down</string> + </array> + <key>validValues</key> + <array> + <integer>0</integer> + <integer>1</integer> + <integer>2</integer> + <integer>3</integer> + </array> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>options</string> + <key>footerText</key> + <string>The time until the player is automatically dismissed.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false/> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>killApp</string> + <key>label</key> + <string>Close Now Playing App on Dismissal</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false/> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>dismissPlayer</string> + <key>label</key> + <string>Dismiss Automatically</string> + </dict> + <dict> + <key>cell</key> + <string>PSSliderCell</string> + <key>min</key> + <real>0</real> + <key>max</key> + <real>60</real> + <key>default</key> + <real>0</real> + <key>showValue</key> + <true/> + <key>isSegmented</key> + <true/> + <key>segmentCount</key> + <integer>60</integer> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>timeValue</string> + </dict> + <dict> + <key>cell</key> + <string>PSSegmentCell</string> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>timeOption</string> + <key>default</key> + <integer>0</integer> + <key>validTitles</key> + <array> + <string>Seconds</string> + <string>Minutes</string> + <string>Hours</string> + </array> + <key>validValues</key> + <array> + <integer>0</integer> + <integer>1</integer> + <integer>2</integer> + </array> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Support</string> + <key>footerText</key> + <string>Having trouble with Finical?</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>action</key> + <string>openDiscord</string> + <key>label</key> + <string>FivePixels Discord Server</string> + <key>icon</key> + <string>discord.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>action</key> + <string>openTwitterDM</string> + <key>label</key> + <string>Get Support on Twitter</string> + <key>icon</key> + <string>twitter.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Developer</string> + <key>footerText</key> + <string>"If this is coffee, please bring me some tea; but if this is tea, please bring me some coffee."</string> + <key>footerAlignment</key> + <integer>1</integer> + </dict> + <dict> + <key>action</key> + <string>openTwitter5px</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Dylan Bolger (FivePixels)</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerAlignment</key> + <integer>1</integer> + <key>footerText</key> + <string>Dylan Bolger (FivePixels) © 2020</string> + </dict> + </array> + <key>title</key> + <string>Finical</string> + </dict> +</plist> diff --git a/.theos/obj/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..bd3cb87 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/FinicalPrefs.bundle/Info.plist b/.theos/obj/FinicalPrefs.bundle/Info.plist new file mode 100644 index 0000000..ffd77b8 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>FinicalPrefs</string> + <key>CFBundleIdentifier</key> + <string>com.5px.finicalprefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>FCLRootListController</string> +</dict> +</plist> diff --git a/.theos/obj/FinicalPrefs.bundle/discord@2x.png b/.theos/obj/FinicalPrefs.bundle/discord@2x.png Binary files differnew file mode 100644 index 0000000..54f6a92 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/discord@2x.png diff --git a/.theos/obj/FinicalPrefs.bundle/discord@3x.png b/.theos/obj/FinicalPrefs.bundle/discord@3x.png Binary files differnew file mode 100644 index 0000000..d58c334 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/discord@3x.png diff --git a/.theos/obj/FinicalPrefs.bundle/icon@2x.png b/.theos/obj/FinicalPrefs.bundle/icon@2x.png Binary files differnew file mode 100644 index 0000000..3b9d210 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/icon@2x.png diff --git a/.theos/obj/FinicalPrefs.bundle/icon@3x.png b/.theos/obj/FinicalPrefs.bundle/icon@3x.png Binary files differnew file mode 100644 index 0000000..43b0661 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/icon@3x.png diff --git a/.theos/obj/FinicalPrefs.bundle/twitter@2x.png b/.theos/obj/FinicalPrefs.bundle/twitter@2x.png Binary files differnew file mode 100644 index 0000000..5fa8892 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/twitter@2x.png diff --git a/.theos/obj/FinicalPrefs.bundle/twitter@3x.png b/.theos/obj/FinicalPrefs.bundle/twitter@3x.png Binary files differnew file mode 100644 index 0000000..9af7a41 --- /dev/null +++ b/.theos/obj/FinicalPrefs.bundle/twitter@3x.png diff --git a/.theos/obj/arm64/FCLRootListController.m.4786d8ff.Td b/.theos/obj/arm64/FCLRootListController.m.4786d8ff.Td new file mode 100644 index 0000000..35849dd --- /dev/null +++ b/.theos/obj/arm64/FCLRootListController.m.4786d8ff.Td @@ -0,0 +1,22 @@ +/Volumes/Development/iOS/Tweaks/finical/.theos/obj/arm64/FCLRootListController.m.4786d8ff.o: \ + FCLRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/FCLRootListController.m.4786d8ff.o b/.theos/obj/arm64/FCLRootListController.m.4786d8ff.o Binary files differnew file mode 100644 index 0000000..ce9cf61 --- /dev/null +++ b/.theos/obj/arm64/FCLRootListController.m.4786d8ff.o diff --git a/.theos/obj/arm64/Finical.dylib b/.theos/obj/arm64/Finical.dylib Binary files differnew file mode 100755 index 0000000..ce12cfd --- /dev/null +++ b/.theos/obj/arm64/Finical.dylib diff --git a/.theos/obj/arm64/Finical.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64/Finical.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..61ddda7 --- /dev/null +++ b/.theos/obj/arm64/Finical.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.Finical.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib b/.theos/obj/arm64/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib Binary files differnew file mode 100644 index 0000000..afd0653 --- /dev/null +++ b/.theos/obj/arm64/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib diff --git a/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..c625a76 --- /dev/null +++ b/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ee46ec0 --- /dev/null +++ b/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.FinicalPrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs b/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs Binary files differnew file mode 100644 index 0000000..1d9ca97 --- /dev/null +++ b/.theos/obj/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs diff --git a/.theos/obj/arm64/Tweak.x.0f65de19.Td b/.theos/obj/arm64/Tweak.x.0f65de19.Td new file mode 100644 index 0000000..e9a8724 --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.0f65de19.Td @@ -0,0 +1,26 @@ +/Volumes/Development/iOS/Tweaks/finical/.theos/obj/arm64/Tweak.x.0f65de19.o: \ + /Volumes/Development/iOS/Tweaks/finical/.theos/obj/arm64/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h \ + /Volumes/Development/iOS/Tweaks/finical/Headers.h \ + /Volumes/Development/iOS/Tweaks/finical/MediaRemote.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: + +/Volumes/Development/iOS/Tweaks/finical/Headers.h: + +/Volumes/Development/iOS/Tweaks/finical/MediaRemote.h: diff --git a/.theos/obj/arm64/Tweak.x.0f65de19.o b/.theos/obj/arm64/Tweak.x.0f65de19.o Binary files differnew file mode 100644 index 0000000..f1aa497 --- /dev/null +++ b/.theos/obj/arm64/Tweak.x.0f65de19.o diff --git a/.theos/obj/arm64e/FCLRootListController.m.d9a90589.Td b/.theos/obj/arm64e/FCLRootListController.m.d9a90589.Td new file mode 100644 index 0000000..e0e820d --- /dev/null +++ b/.theos/obj/arm64e/FCLRootListController.m.d9a90589.Td @@ -0,0 +1,22 @@ +/Volumes/Development/iOS/Tweaks/finical/.theos/obj/arm64e/FCLRootListController.m.d9a90589.o: \ + FCLRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64e/FCLRootListController.m.d9a90589.o b/.theos/obj/arm64e/FCLRootListController.m.d9a90589.o Binary files differnew file mode 100644 index 0000000..2f936c5 --- /dev/null +++ b/.theos/obj/arm64e/FCLRootListController.m.d9a90589.o diff --git a/.theos/obj/arm64e/Finical.dylib b/.theos/obj/arm64e/Finical.dylib Binary files differnew file mode 100755 index 0000000..c63a8a1 --- /dev/null +++ b/.theos/obj/arm64e/Finical.dylib diff --git a/.theos/obj/arm64e/Finical.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64e/Finical.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..61ddda7 --- /dev/null +++ b/.theos/obj/arm64e/Finical.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.Finical.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64e/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib b/.theos/obj/arm64e/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib Binary files differnew file mode 100644 index 0000000..588d2f3 --- /dev/null +++ b/.theos/obj/arm64e/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib diff --git a/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..b9d5ec0 --- /dev/null +++ b/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ee46ec0 --- /dev/null +++ b/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.FinicalPrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs b/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs Binary files differnew file mode 100644 index 0000000..145ef4c --- /dev/null +++ b/.theos/obj/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs diff --git a/.theos/obj/arm64e/Tweak.x.39438a51.Td b/.theos/obj/arm64e/Tweak.x.39438a51.Td new file mode 100644 index 0000000..10f0e91 --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.39438a51.Td @@ -0,0 +1,26 @@ +/Volumes/Development/iOS/Tweaks/finical/.theos/obj/arm64e/Tweak.x.39438a51.o: \ + /Volumes/Development/iOS/Tweaks/finical/.theos/obj/arm64e/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h \ + /Volumes/Development/iOS/Tweaks/finical/Headers.h \ + /Volumes/Development/iOS/Tweaks/finical/MediaRemote.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: + +/Volumes/Development/iOS/Tweaks/finical/Headers.h: + +/Volumes/Development/iOS/Tweaks/finical/MediaRemote.h: diff --git a/.theos/obj/arm64e/Tweak.x.39438a51.o b/.theos/obj/arm64e/Tweak.x.39438a51.o Binary files differnew file mode 100644 index 0000000..ef7465c --- /dev/null +++ b/.theos/obj/arm64e/Tweak.x.39438a51.o diff --git a/.theos/obj/debug/.stamp b/.theos/obj/debug/.stamp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.theos/obj/debug/.stamp diff --git a/.theos/obj/debug/Finical.dylib b/.theos/obj/debug/Finical.dylib Binary files differnew file mode 100755 index 0000000..717e136 --- /dev/null +++ b/.theos/obj/debug/Finical.dylib diff --git a/.theos/obj/debug/FinicalPrefs.bundle/.Finical.plist.swp b/.theos/obj/debug/FinicalPrefs.bundle/.Finical.plist.swp Binary files differnew file mode 100644 index 0000000..b8c79f7 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/.Finical.plist.swp diff --git a/.theos/obj/debug/FinicalPrefs.bundle/Finical.plist b/.theos/obj/debug/FinicalPrefs.bundle/Finical.plist new file mode 100644 index 0000000..d4c28ee --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/Finical.plist @@ -0,0 +1,200 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>items</key> + <array> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Settings</string> + <key>footerText</key> + <string>Respring your device to apply changes.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <true/> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>enabled</string> + <key>label</key> + <string>Enabled</string> + + </dict> + <dict> + <key>action</key> + <string>respring</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Respring</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Gesture Direction</string> + <key>footerText</key> + <string>The swipe direction to dismiss the Lockscreen player.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSegmentCell</string> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>dismissGesture</string> + <key>default</key> + <integer>2</integer> + <key>validTitles</key> + <array> + <string>Left</string> + <string>Right</string> + <string>Up</string> + <string>Down</string> + </array> + <key>validValues</key> + <array> + <integer>0</integer> + <integer>1</integer> + <integer>2</integer> + <integer>3</integer> + </array> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>options</string> + <key>footerText</key> + <string>The time until the player is automatically dismissed.</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false/> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>killApp</string> + <key>label</key> + <string>Close Now Playing App on Dismissal</string> + </dict> + <dict> + <key>cell</key> + <string>PSSwitchCell</string> + <key>default</key> + <false/> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>dismissPlayer</string> + <key>label</key> + <string>Dismiss Automatically</string> + </dict> + <dict> + <key>cell</key> + <string>PSSliderCell</string> + <key>min</key> + <real>0</real> + <key>max</key> + <real>60</real> + <key>default</key> + <real>0</real> + <key>showValue</key> + <true/> + <key>isSegmented</key> + <true/> + <key>segmentCount</key> + <integer>60</integer> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>timeValue</string> + </dict> + <dict> + <key>cell</key> + <string>PSSegmentCell</string> + <key>defaults</key> + <string>com.5px.finical</string> + <key>key</key> + <string>timeOption</string> + <key>default</key> + <integer>0</integer> + <key>validTitles</key> + <array> + <string>Seconds</string> + <string>Minutes</string> + <string>Hours</string> + </array> + <key>validValues</key> + <array> + <integer>0</integer> + <integer>1</integer> + <integer>2</integer> + </array> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Support</string> + <key>footerText</key> + <string>Having trouble with Finical?</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>action</key> + <string>openDiscord</string> + <key>label</key> + <string>FivePixels Discord Server</string> + <key>icon</key> + <string>discord.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSButtonCell</string> + <key>action</key> + <string>openTwitterDM</string> + <key>label</key> + <string>Get Support on Twitter</string> + <key>icon</key> + <string>twitter.png</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>label</key> + <string>Developer</string> + <key>footerText</key> + <string>"If this is coffee, please bring me some tea; but if this is tea, please bring me some coffee."</string> + <key>footerAlignment</key> + <integer>1</integer> + </dict> + <dict> + <key>action</key> + <string>openTwitter5px</string> + <key>cell</key> + <string>PSButtonCell</string> + <key>label</key> + <string>Dylan Bolger (FivePixels)</string> + </dict> + <dict> + <key>cell</key> + <string>PSGroupCell</string> + <key>footerAlignment</key> + <integer>1</integer> + <key>footerText</key> + <string>Dylan Bolger (FivePixels) © 2020</string> + </dict> + </array> + <key>title</key> + <string>Finical</string> + </dict> +</plist> diff --git a/.theos/obj/debug/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/debug/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..99aa0b3 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/debug/FinicalPrefs.bundle/Info.plist b/.theos/obj/debug/FinicalPrefs.bundle/Info.plist new file mode 100644 index 0000000..ffd77b8 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>FinicalPrefs</string> + <key>CFBundleIdentifier</key> + <string>com.5px.finicalprefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>FCLRootListController</string> +</dict> +</plist> diff --git a/.theos/obj/debug/FinicalPrefs.bundle/discord@2x.png b/.theos/obj/debug/FinicalPrefs.bundle/discord@2x.png Binary files differnew file mode 100644 index 0000000..54f6a92 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/discord@2x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/discord@3x.png b/.theos/obj/debug/FinicalPrefs.bundle/discord@3x.png Binary files differnew file mode 100644 index 0000000..d58c334 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/discord@3x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/github@2x.png b/.theos/obj/debug/FinicalPrefs.bundle/github@2x.png Binary files differnew file mode 100644 index 0000000..52b4ba7 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/github@2x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/github@3x.png b/.theos/obj/debug/FinicalPrefs.bundle/github@3x.png Binary files differnew file mode 100644 index 0000000..5509612 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/github@3x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/icon@2x.png b/.theos/obj/debug/FinicalPrefs.bundle/icon@2x.png Binary files differnew file mode 100644 index 0000000..3b9d210 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/icon@2x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/icon@3x.png b/.theos/obj/debug/FinicalPrefs.bundle/icon@3x.png Binary files differnew file mode 100644 index 0000000..43b0661 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/icon@3x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/twitter@2x.png b/.theos/obj/debug/FinicalPrefs.bundle/twitter@2x.png Binary files differnew file mode 100644 index 0000000..5fa8892 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/twitter@2x.png diff --git a/.theos/obj/debug/FinicalPrefs.bundle/twitter@3x.png b/.theos/obj/debug/FinicalPrefs.bundle/twitter@3x.png Binary files differnew file mode 100644 index 0000000..9af7a41 --- /dev/null +++ b/.theos/obj/debug/FinicalPrefs.bundle/twitter@3x.png diff --git a/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.Td b/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.Td new file mode 100644 index 0000000..09af417 --- /dev/null +++ b/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.o: \ + FCLRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.o b/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.o Binary files differnew file mode 100644 index 0000000..7bff193 --- /dev/null +++ b/.theos/obj/debug/arm64/FCLRootListController.m.6697b6e8.o diff --git a/.theos/obj/debug/arm64/Finical.dylib b/.theos/obj/debug/arm64/Finical.dylib Binary files differnew file mode 100755 index 0000000..56ca191 --- /dev/null +++ b/.theos/obj/debug/arm64/Finical.dylib diff --git a/.theos/obj/debug/arm64/Finical.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/Finical.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..61ddda7 --- /dev/null +++ b/.theos/obj/debug/arm64/Finical.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.Finical.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib b/.theos/obj/debug/arm64/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib Binary files differnew file mode 100644 index 0000000..a185f7b --- /dev/null +++ b/.theos/obj/debug/arm64/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib diff --git a/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..97c523b --- /dev/null +++ b/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ee46ec0 --- /dev/null +++ b/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.FinicalPrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs b/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs Binary files differnew file mode 100644 index 0000000..b11041f --- /dev/null +++ b/.theos/obj/debug/arm64/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs diff --git a/.theos/obj/debug/arm64/Tweak.x.324c8b47.Td b/.theos/obj/debug/arm64/Tweak.x.324c8b47.Td new file mode 100644 index 0000000..f65a0a5 --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.324c8b47.Td @@ -0,0 +1,26 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64/Tweak.x.324c8b47.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h: diff --git a/.theos/obj/debug/arm64/Tweak.x.324c8b47.o b/.theos/obj/debug/arm64/Tweak.x.324c8b47.o Binary files differnew file mode 100644 index 0000000..f3680f1 --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.324c8b47.o diff --git a/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.Td b/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.Td new file mode 100644 index 0000000..486186c --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.o b/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.o Binary files differnew file mode 100644 index 0000000..90583a2 --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.9a5be5fd.o diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m new file mode 100644 index 0000000..2e93ef1 --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.m @@ -0,0 +1,203 @@ +#line 1 "Tweak.x" + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class CSMediaControlsView; @class SBMainSwitcherViewController; @class CSAdjunctListItemView; @class SBLockScreenManager; @class QRTMediaModuleViewController; @class SBMediaController; @class PLPlatterCustomContentView; +static void _logos_meta_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static void _logos_meta_method$_ungrouped$CSMediaControlsView$stateChanged$(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL, NSNotification *); static void (*_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$CSAdjunctListItemView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL CSAdjunctListItemView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSAdjunctListItemView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSAdjunctListItemView* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$QRTMediaModuleViewController$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL QRTMediaModuleViewController* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$QRTMediaModuleViewController$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL QRTMediaModuleViewController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$PLPlatterCustomContentView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL PLPlatterCustomContentView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$PLPlatterCustomContentView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL PLPlatterCustomContentView* _LOGOS_SELF_CONST, SEL); +static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBMediaController(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBMediaController"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBMainSwitcherViewController(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBMainSwitcherViewController"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$CSMediaControlsView(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("CSMediaControlsView"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBLockScreenManager(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBLockScreenManager"); } return _klass; } +#line 1 "Tweak.x" +#import <Headers.h> +static BOOL enabled = YES; +static BOOL dismissPlayer = NO; +static BOOL killApp = NO; +static int timeOption = 0; +static int dismissGesture = 2; +static int timeValue = 0; +static id prefs; +static void reloadSettings() { + prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.finical.plist"]; + if(prefs) { + enabled = [prefs objectForKey:@"enabled"] ? [[prefs objectForKey:@"enabled"] intValue] : enabled; + dismissPlayer = [prefs objectForKey:@"dismissPlayer"] ? [[prefs objectForKey:@"dismissPlayer"] intValue]: dismissPlayer; + killApp = [prefs objectForKey:@"killApp"] ? [[prefs objectForKey:@"killApp"] intValue]: killApp; + timeOption = [prefs objectForKey:@"timeOption"] ? [[prefs objectForKey:@"timeOption"] intValue]: timeOption; + timeValue = [prefs objectForKey:@"timeValue"] ? [[prefs objectForKey:@"timeValue"] intValue]: timeValue; + dismissGesture = [prefs objectForKey:@"dismissGesture"] ? [[prefs objectForKey:@"dismissGesture"] intValue]: dismissGesture; + if (dismissPlayer) { + switch (timeOption) { + case 0: + break; + case 1: + timeValue = timeValue * 60; + break; + case 2: + timeValue = timeValue * 3600; + break; + } + } + } +} + +CSAdjunctListItem *item; +SBLockScreenManager *manager; +CSNotificationAdjunctListViewController *vc; +NSTimer *timer; +SBMainSwitcherViewController *mainSwitcher; +NSString *nowPlayingID; +NSArray *items; + +static void _logos_meta_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + if ([[_logos_static_class_lookup$SBMediaController() sharedInstance] isPaused]) { + if ([vc.identifiersToItems count] >= 1) { + [vc _removeItem:(id)item animated:(BOOL)YES]; + if (killApp) { + for (SBAppLayout *item in items) { + SBDisplayItem *currentItem = [item.rolesToLayoutItemsMap objectForKey:@1]; + NSString *bundleID = currentItem.bundleIdentifier; + if ([bundleID isEqualToString: nowPlayingID]) { + [mainSwitcher _deleteAppLayout:item forReason: 1]; + } + } + } + } + } +} + +static void _logos_meta_method$_ungrouped$CSMediaControlsView$stateChanged$(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, NSNotification * notification) { + if ([[_logos_static_class_lookup$SBMediaController() sharedInstance] isPlaying]) { + if ([vc.identifiersToItems count] == 0) { + [vc _insertItem:(id)item animated:(BOOL)YES]; + } + } + if ([timer isValid]) { + [timer invalidate]; + timer = nil; + } + if (enabled) { + if ([vc.identifiersToItems count] == 1) { + if (dismissPlayer) { + timer = [NSTimer scheduledTimerWithTimeInterval: timeValue + target: _logos_static_class_lookup$CSMediaControlsView() + selector: @selector(removePlayer) + userInfo: nil + repeats: NO]; + } + } + } +} +static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + reloadSettings(); + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + item = [vc.identifiersToItems objectForKey:@"SBDashBoardNowPlayingAssertionIdentifier"]; + mainSwitcher = [_logos_static_class_lookup$SBMainSwitcherViewController() sharedInstance]; + items = mainSwitcher.recentAppLayouts; + nowPlayingID = [[[_logos_static_class_lookup$SBMediaController() sharedInstance] nowPlayingApplication] bundleIdentifier]; + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + default: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews(self, _cmd); +} + + +static void _logos_method$_ungrouped$CSAdjunctListItemView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSAdjunctListItemView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 0: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$CSAdjunctListItemView$layoutSubviews(self, _cmd); +} + + +static void _logos_method$_ungrouped$QRTMediaModuleViewController$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL QRTMediaModuleViewController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 0: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$QRTMediaModuleViewController$layoutSubviews(self, _cmd); +} + + +static void _logos_method$_ungrouped$PLPlatterCustomContentView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL PLPlatterCustomContentView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 0: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$PLPlatterCustomContentView$layoutSubviews(self, _cmd); +} + +static __attribute__((constructor)) void _logosLocalCtor_b2403fe0(int __unused argc, char __unused **argv, char __unused **envp) { + reloadSettings(); + [[NSNotificationCenter defaultCenter] addObserver:_logos_static_class_lookup$CSMediaControlsView() selector:@selector(stateChanged:) name:@"SBMediaNowPlayingChangedNotification" object:nil]; +} + +static __attribute__((constructor)) void _logosLocalInit() { +{Class _logos_class$_ungrouped$CSMediaControlsView = objc_getClass("CSMediaControlsView"); Class _logos_metaclass$_ungrouped$CSMediaControlsView = object_getClass(_logos_class$_ungrouped$CSMediaControlsView); { char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_metaclass$_ungrouped$CSMediaControlsView, @selector(removePlayer), (IMP)&_logos_meta_method$_ungrouped$CSMediaControlsView$removePlayer, _typeEncoding); }{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; memcpy(_typeEncoding + i, @encode(NSNotification *), strlen(@encode(NSNotification *))); i += strlen(@encode(NSNotification *)); _typeEncoding[i] = '\0'; class_addMethod(_logos_metaclass$_ungrouped$CSMediaControlsView, @selector(stateChanged:), (IMP)&_logos_meta_method$_ungrouped$CSMediaControlsView$stateChanged$, _typeEncoding); }MSHookMessageEx(_logos_class$_ungrouped$CSMediaControlsView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews);Class _logos_class$_ungrouped$CSAdjunctListItemView = objc_getClass("CSAdjunctListItemView"); MSHookMessageEx(_logos_class$_ungrouped$CSAdjunctListItemView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$CSAdjunctListItemView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$CSAdjunctListItemView$layoutSubviews);Class _logos_class$_ungrouped$QRTMediaModuleViewController = objc_getClass("QRTMediaModuleViewController"); MSHookMessageEx(_logos_class$_ungrouped$QRTMediaModuleViewController, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$QRTMediaModuleViewController$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$QRTMediaModuleViewController$layoutSubviews);Class _logos_class$_ungrouped$PLPlatterCustomContentView = objc_getClass("PLPlatterCustomContentView"); MSHookMessageEx(_logos_class$_ungrouped$PLPlatterCustomContentView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$PLPlatterCustomContentView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$PLPlatterCustomContentView$layoutSubviews);} } +#line 175 "Tweak.x" diff --git a/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.Td b/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.Td new file mode 100644 index 0000000..0999e74 --- /dev/null +++ b/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.o: \ + FCLRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.o b/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.o Binary files differnew file mode 100644 index 0000000..d2a5657 --- /dev/null +++ b/.theos/obj/debug/arm64e/FCLRootListController.m.60c48a2a.o diff --git a/.theos/obj/debug/arm64e/Finical.dylib b/.theos/obj/debug/arm64e/Finical.dylib Binary files differnew file mode 100755 index 0000000..39199d8 --- /dev/null +++ b/.theos/obj/debug/arm64e/Finical.dylib diff --git a/.theos/obj/debug/arm64e/Finical.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/Finical.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..61ddda7 --- /dev/null +++ b/.theos/obj/debug/arm64e/Finical.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.Finical.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64e/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib b/.theos/obj/debug/arm64e/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib Binary files differnew file mode 100644 index 0000000..adddb37 --- /dev/null +++ b/.theos/obj/debug/arm64e/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib diff --git a/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..a4117f8 --- /dev/null +++ b/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ee46ec0 --- /dev/null +++ b/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.FinicalPrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs b/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs Binary files differnew file mode 100644 index 0000000..4140237 --- /dev/null +++ b/.theos/obj/debug/arm64e/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs diff --git a/.theos/obj/debug/arm64e/Tweak.x.a450b45f.Td b/.theos/obj/debug/arm64e/Tweak.x.a450b45f.Td new file mode 100644 index 0000000..ac6675e --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.a450b45f.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64e/Tweak.x.a450b45f.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64e/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.a450b45f.o b/.theos/obj/debug/arm64e/Tweak.x.a450b45f.o Binary files differnew file mode 100644 index 0000000..ef11c99 --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.a450b45f.o diff --git a/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.Td b/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.Td new file mode 100644 index 0000000..42efa7c --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.Td @@ -0,0 +1,26 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/arm64e/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.o b/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.o Binary files differnew file mode 100644 index 0000000..239b7a9 --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.a81dc44d.o diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m new file mode 100644 index 0000000..6370c9f --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.m @@ -0,0 +1,203 @@ +#line 1 "Tweak.x" + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBMediaController; @class PLPlatterCustomContentView; @class CSMediaControlsView; @class CSAdjunctListItemView; @class SBLockScreenManager; @class SBMainSwitcherViewController; @class QRTMediaModuleViewController; +static void _logos_meta_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static void _logos_meta_method$_ungrouped$CSMediaControlsView$stateChanged$(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL, NSNotification *); static void (*_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$CSAdjunctListItemView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL CSAdjunctListItemView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSAdjunctListItemView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSAdjunctListItemView* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$QRTMediaModuleViewController$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL QRTMediaModuleViewController* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$QRTMediaModuleViewController$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL QRTMediaModuleViewController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$PLPlatterCustomContentView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL PLPlatterCustomContentView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$PLPlatterCustomContentView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL PLPlatterCustomContentView* _LOGOS_SELF_CONST, SEL); +static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBMainSwitcherViewController(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBMainSwitcherViewController"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBLockScreenManager(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBLockScreenManager"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$CSMediaControlsView(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("CSMediaControlsView"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBMediaController(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBMediaController"); } return _klass; } +#line 1 "Tweak.x" +#import <Headers.h> +static BOOL enabled = YES; +static BOOL dismissPlayer = NO; +static BOOL killApp = NO; +static int timeOption = 0; +static int dismissGesture = 2; +static int timeValue = 0; +static id prefs; +static void reloadSettings() { + prefs = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.5px.finical.plist"]; + if(prefs) { + enabled = [prefs objectForKey:@"enabled"] ? [[prefs objectForKey:@"enabled"] intValue] : enabled; + dismissPlayer = [prefs objectForKey:@"dismissPlayer"] ? [[prefs objectForKey:@"dismissPlayer"] intValue]: dismissPlayer; + killApp = [prefs objectForKey:@"killApp"] ? [[prefs objectForKey:@"killApp"] intValue]: killApp; + timeOption = [prefs objectForKey:@"timeOption"] ? [[prefs objectForKey:@"timeOption"] intValue]: timeOption; + timeValue = [prefs objectForKey:@"timeValue"] ? [[prefs objectForKey:@"timeValue"] intValue]: timeValue; + dismissGesture = [prefs objectForKey:@"dismissGesture"] ? [[prefs objectForKey:@"dismissGesture"] intValue]: dismissGesture; + if (dismissPlayer) { + switch (timeOption) { + case 0: + break; + case 1: + timeValue = timeValue * 60; + break; + case 2: + timeValue = timeValue * 3600; + break; + } + } + } +} + +CSAdjunctListItem *item; +SBLockScreenManager *manager; +CSNotificationAdjunctListViewController *vc; +NSTimer *timer; +SBMainSwitcherViewController *mainSwitcher; +NSString *nowPlayingID; +NSArray *items; + +static void _logos_meta_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + if ([[_logos_static_class_lookup$SBMediaController() sharedInstance] isPaused]) { + if ([vc.identifiersToItems count] >= 1) { + [vc _removeItem:(id)item animated:(BOOL)YES]; + if (killApp) { + for (SBAppLayout *item in items) { + SBDisplayItem *currentItem = [item.rolesToLayoutItemsMap objectForKey:@1]; + NSString *bundleID = currentItem.bundleIdentifier; + if ([bundleID isEqualToString: nowPlayingID]) { + [mainSwitcher _deleteAppLayout:item forReason: 1]; + } + } + } + } + } +} + +static void _logos_meta_method$_ungrouped$CSMediaControlsView$stateChanged$(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, NSNotification * notification) { + if ([[_logos_static_class_lookup$SBMediaController() sharedInstance] isPlaying]) { + if ([vc.identifiersToItems count] == 0) { + [vc _insertItem:(id)item animated:(BOOL)YES]; + } + } + if ([timer isValid]) { + [timer invalidate]; + timer = nil; + } + if (enabled) { + if ([vc.identifiersToItems count] == 1) { + if (dismissPlayer) { + timer = [NSTimer scheduledTimerWithTimeInterval: timeValue + target: _logos_static_class_lookup$CSMediaControlsView() + selector: @selector(removePlayer) + userInfo: nil + repeats: NO]; + } + } + } +} +static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + reloadSettings(); + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + item = [vc.identifiersToItems objectForKey:@"SBDashBoardNowPlayingAssertionIdentifier"]; + mainSwitcher = [_logos_static_class_lookup$SBMainSwitcherViewController() sharedInstance]; + items = mainSwitcher.recentAppLayouts; + nowPlayingID = [[[_logos_static_class_lookup$SBMediaController() sharedInstance] nowPlayingApplication] bundleIdentifier]; + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + default: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews(self, _cmd); +} + + +static void _logos_method$_ungrouped$CSAdjunctListItemView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSAdjunctListItemView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 0: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$CSAdjunctListItemView$layoutSubviews(self, _cmd); +} + + +static void _logos_method$_ungrouped$QRTMediaModuleViewController$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL QRTMediaModuleViewController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 0: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$QRTMediaModuleViewController$layoutSubviews(self, _cmd); +} + + +static void _logos_method$_ungrouped$PLPlatterCustomContentView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL PLPlatterCustomContentView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + UISwipeGestureRecognizer *gesture = [[UISwipeGestureRecognizer alloc]initWithTarget:_logos_static_class_lookup$CSMediaControlsView() action:@selector(removePlayer)]; + switch (dismissGesture) { + case 0: + gesture.direction = UISwipeGestureRecognizerDirectionLeft; + break; + case 1: + gesture.direction = UISwipeGestureRecognizerDirectionRight; + break; + case 2: + gesture.direction = UISwipeGestureRecognizerDirectionUp; + break; + case 3: + gesture.direction = UISwipeGestureRecognizerDirectionDown; + break; + } + [self addGestureRecognizer:gesture]; + _logos_orig$_ungrouped$PLPlatterCustomContentView$layoutSubviews(self, _cmd); +} + +static __attribute__((constructor)) void _logosLocalCtor_b2403fe0(int __unused argc, char __unused **argv, char __unused **envp) { + reloadSettings(); + [[NSNotificationCenter defaultCenter] addObserver:_logos_static_class_lookup$CSMediaControlsView() selector:@selector(stateChanged:) name:@"SBMediaNowPlayingChangedNotification" object:nil]; +} + +static __attribute__((constructor)) void _logosLocalInit() { +{Class _logos_class$_ungrouped$CSMediaControlsView = objc_getClass("CSMediaControlsView"); Class _logos_metaclass$_ungrouped$CSMediaControlsView = object_getClass(_logos_class$_ungrouped$CSMediaControlsView); { char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_metaclass$_ungrouped$CSMediaControlsView, @selector(removePlayer), (IMP)&_logos_meta_method$_ungrouped$CSMediaControlsView$removePlayer, _typeEncoding); }{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; memcpy(_typeEncoding + i, @encode(NSNotification *), strlen(@encode(NSNotification *))); i += strlen(@encode(NSNotification *)); _typeEncoding[i] = '\0'; class_addMethod(_logos_metaclass$_ungrouped$CSMediaControlsView, @selector(stateChanged:), (IMP)&_logos_meta_method$_ungrouped$CSMediaControlsView$stateChanged$, _typeEncoding); }MSHookMessageEx(_logos_class$_ungrouped$CSMediaControlsView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews);Class _logos_class$_ungrouped$CSAdjunctListItemView = objc_getClass("CSAdjunctListItemView"); MSHookMessageEx(_logos_class$_ungrouped$CSAdjunctListItemView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$CSAdjunctListItemView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$CSAdjunctListItemView$layoutSubviews);Class _logos_class$_ungrouped$QRTMediaModuleViewController = objc_getClass("QRTMediaModuleViewController"); MSHookMessageEx(_logos_class$_ungrouped$QRTMediaModuleViewController, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$QRTMediaModuleViewController$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$QRTMediaModuleViewController$layoutSubviews);Class _logos_class$_ungrouped$PLPlatterCustomContentView = objc_getClass("PLPlatterCustomContentView"); MSHookMessageEx(_logos_class$_ungrouped$PLPlatterCustomContentView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$PLPlatterCustomContentView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$PLPlatterCustomContentView$layoutSubviews);} } +#line 175 "Tweak.x" diff --git a/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td b/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td new file mode 100644 index 0000000..3fbadc5 --- /dev/null +++ b/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.Td @@ -0,0 +1,22 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/FCLRootListController.m.1fec4894.o: \ + FCLRootListController.m /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h \ + /Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSListController.h: + +/Users/dylanbolger/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist new file mode 100644 index 0000000..61ddda7 --- /dev/null +++ b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.Finical.dylib</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib Binary files differnew file mode 100644 index 0000000..2344c69 --- /dev/null +++ b/.theos/obj/debug/armv7/Finical.dylib.dSYM/Contents/Resources/DWARF/Finical.dylib diff --git a/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs Binary files differnew file mode 100755 index 0000000..4304bda --- /dev/null +++ b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs diff --git a/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist new file mode 100644 index 0000000..ee46ec0 --- /dev/null +++ b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + <dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleIdentifier</key> + <string>com.apple.xcode.dsym.FinicalPrefs</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>dSYM</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> + </dict> +</plist> diff --git a/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs Binary files differnew file mode 100644 index 0000000..9477520 --- /dev/null +++ b/.theos/obj/debug/armv7/FinicalPrefs.bundle/FinicalPrefs.dSYM/Contents/Resources/DWARF/FinicalPrefs diff --git a/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td b/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td new file mode 100644 index 0000000..ced86a7 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.Td @@ -0,0 +1,20 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.9c3a1a96.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td new file mode 100644 index 0000000..c4009e5 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.Td @@ -0,0 +1,26 @@ +/Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o: \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/.theos/obj/debug/armv7/Tweak.x.m \ + /Users/dylanbolger/theos/Prefix.pch \ + /Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h \ + /Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h \ + /Users/dylanbolger/theos/vendor/include/HBLog.h \ + /Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h \ + /Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h \ + /Users/dylanbolger/theos/vendor/include/substrate.h + +/Users/dylanbolger/theos/Prefix.pch: + +/Users/dylanbolger/theos/vendor/include/_Prefix/BackwardsCompat.h: + +/Users/dylanbolger/theos/vendor/include/_Prefix/IOSMacros.h: + +/Users/dylanbolger/theos/vendor/include/HBLog.h: + +/Users/dylanbolger/theos/vendor/include/CoreFoundation/CFLogUtilities.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/Headers.h: + +/Users/dylanbolger/Development/iOS/Tweaks/finical/MediaRemote.h: + +/Users/dylanbolger/theos/vendor/include/substrate.h: diff --git a/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o Binary files differnew file mode 100644 index 0000000..2d9b16d --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.fcdb2fda.o diff --git a/.theos/obj/debug/armv7/Tweak.x.m b/.theos/obj/debug/armv7/Tweak.x.m new file mode 100644 index 0000000..11bb908 --- /dev/null +++ b/.theos/obj/debug/armv7/Tweak.x.m @@ -0,0 +1,68 @@ +#line 1 "Tweak.x" +#import <Headers.h> + + +#include <substrate.h> +#if defined(__clang__) +#if __has_feature(objc_arc) +#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained +#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) +#define _LOGOS_SELF_CONST const +#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif +#else +#define _LOGOS_SELF_TYPE_NORMAL +#define _LOGOS_SELF_TYPE_INIT +#define _LOGOS_SELF_CONST +#define _LOGOS_RETURN_RETAINED +#endif + +@class SBLockScreenManager; @class SBMediaController; @class CSMediaControlsView; +static CSAdjunctListItem * _logos_method$_ungrouped$CSMediaControlsView$getPlayerItem(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$playbackStateChanged(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews)(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST, SEL); +static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBMediaController(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBMediaController"); } return _klass; }static __inline__ __attribute__((always_inline)) __attribute__((unused)) Class _logos_static_class_lookup$SBLockScreenManager(void) { static Class _klass; if(!_klass) { _klass = objc_getClass("SBLockScreenManager"); } return _klass; } +#line 3 "Tweak.x" + +SBLockScreenManager *manager; +CSNotificationAdjunctListViewController *vc; + + +static CSAdjunctListItem * _logos_method$_ungrouped$CSMediaControlsView$getPlayerItem(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + CSAdjunctListItem *item = [vc.identifiersToItems objectForKey:@"SBDashBoardNowPlayingAssertionIdentifier"]; + return item; +} + +static void _logos_method$_ungrouped$CSMediaControlsView$removePlayer(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + CSAdjunctListItem *item = [self getPlayerItem]; + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + if ([[_logos_static_class_lookup$SBMediaController() sharedInstance] isPaused]) { + [vc _removeItem:(id)item animated:(BOOL)YES]; + } + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playbackStateChanged) name:(__bridge NSString *)kMRMediaRemoteNowPlayingInfoDidChangeNotification object:nil]; +} + + +static void _logos_method$_ungrouped$CSMediaControlsView$playbackStateChanged(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + CSAdjunctListItem *item = [self getPlayerItem]; + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + [vc _insertItem:(id)item animated:(BOOL)YES]; +} +static void _logos_method$_ungrouped$CSMediaControlsView$layoutSubviews(_LOGOS_SELF_TYPE_NORMAL CSMediaControlsView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + manager = [_logos_static_class_lookup$SBLockScreenManager() sharedInstance]; + vc = [[[[manager coverSheetViewController] mainPageContentViewController] combinedListViewController] adjunctListViewController]; + UISwipeGestureRecognizer *swipeleft = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(removePlayer)]; + swipeleft.direction=UISwipeGestureRecognizerDirectionLeft; + [self addGestureRecognizer:swipeleft]; +} + +static __attribute__((constructor)) void _logosLocalInit() { +{Class _logos_class$_ungrouped$CSMediaControlsView = objc_getClass("CSMediaControlsView"); { char _typeEncoding[1024]; unsigned int i = 0; memcpy(_typeEncoding + i, @encode(CSAdjunctListItem *), strlen(@encode(CSAdjunctListItem *))); i += strlen(@encode(CSAdjunctListItem *)); _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$CSMediaControlsView, @selector(getPlayerItem), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$getPlayerItem, _typeEncoding); }{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$CSMediaControlsView, @selector(removePlayer), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$removePlayer, _typeEncoding); }{ char _typeEncoding[1024]; unsigned int i = 0; _typeEncoding[i] = 'v'; i += 1; _typeEncoding[i] = '@'; i += 1; _typeEncoding[i] = ':'; i += 1; _typeEncoding[i] = '\0'; class_addMethod(_logos_class$_ungrouped$CSMediaControlsView, @selector(playbackStateChanged), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$playbackStateChanged, _typeEncoding); }MSHookMessageEx(_logos_class$_ungrouped$CSMediaControlsView, @selector(layoutSubviews), (IMP)&_logos_method$_ungrouped$CSMediaControlsView$layoutSubviews, (IMP*)&_logos_orig$_ungrouped$CSMediaControlsView$layoutSubviews);} } +#line 40 "Tweak.x" |
