Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
refactor: add libraries
Browse files Browse the repository at this point in the history
Signed-off-by: 82Flex <[email protected]>
  • Loading branch information
Lessica committed Jan 21, 2024
1 parent 32b6494 commit 1771565
Show file tree
Hide file tree
Showing 6 changed files with 3,231 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ TrollSpeed_FILES += $(wildcard sources/KIF/*.mm sources/KIF/*.m)
TrollSpeed_FILES += $(wildcard sources/*.swift)
TrollSpeed_FILES += $(wildcard sources/SPLarkController/*.swift)
TrollSpeed_FILES += $(wildcard sources/SnapshotSafeView/*.swift)

TrollSpeed_CFLAGS += -fobjc-arc
TrollSpeed_CFLAGS += -Iheaders
TrollSpeed_CFLAGS += -Isources
TrollSpeed_CFLAGS += -Isources/KIF
TrollSpeed_CFLAGS += -Iheaders
TrollSpeed_CFLAGS += -include resources/hudapp-prefix.pch
TrollSpeed_CCFLAGS += -DNOTIFY_LAUNCHED_HUD=\"ch.xxtou.notification.hud.launched\"
TrollSpeed_CCFLAGS += -DNOTIFY_DISMISSAL_HUD=\"ch.xxtou.notification.hud.dismissal\"
TrollSpeed_CCFLAGS += -DNOTIFY_RELOAD_HUD=\"ch.xxtou.notification.hud.reload\"
TrollSpeed_CCFLAGS += -DNOTIFY_RELOAD_APP=\"ch.xxtou.notification.app.reload\"
ifeq ($(SPAWN_AS_ROOT),1)
TrollSpeed_CCFLAGS += -DSPAWN_AS_ROOT
endif
MainApplication.mm_CCFLAGS += -std=c++14
TrollSpeed_FRAMEWORKS += CoreGraphics QuartzCore IOKit UIKit
TrollSpeed_PRIVATE_FRAMEWORKS += BackBoardServices CoreServices GraphicsServices SpringBoardServices

TrollSpeed_LDFLAGS += -Flibraries

TrollSpeed_FRAMEWORKS += CoreGraphics CoreServices QuartzCore IOKit UIKit
TrollSpeed_PRIVATE_FRAMEWORKS += BackBoardServices GraphicsServices SpringBoardServices
TrollSpeed_CODESIGN_FLAGS += -Sresources/entitlements.plist

include $(THEOS_MAKE_PATH)/application.mk
Expand Down
112 changes: 112 additions & 0 deletions libraries/AssertionServices.tbd
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
--- !tapi-tbd-v3
archs: [ armv7, armv7s, arm64, arm64e ]
platform: ios
flags: [ flat_namespace ]
install-name: /System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices
current-version: 505.100.7
compatibility-version: 1
objc-constraint: retain_release
exports:
- archs: [ armv7, armv7s, arm64, arm64e ]
symbols: [ _AssertionServicesVersionNumber,
_AssertionServicesVersionString,
_BKLaunchdJobApplicationLabelPrefix,
_BKLaunchdJobSystemShellLabelPrefix,
_BKSApplicationNotificationStateChanged,
_BKSApplicationStateAll,
_BKSApplicationStateAppIsFrontmostKey,
_BKSApplicationStateDisplayIDKey,
_BKSApplicationStateExitCodeKey,
_BKSApplicationStateExitReasonKey,
_BKSApplicationStateExtensionKey,
_BKSApplicationStateHostPIDKey,
_BKSApplicationStateKey,
_BKSApplicationStateMostElevatedStateForProcessIDKey,
_BKSApplicationStateProcessIDKey,
_BKSApplicationStateRunningReasonAssertionIdentifierKey,
_BKSApplicationStateRunningReasonAssertionNotificationKey,
_BKSApplicationStateRunningReasonAssertionReasonKey,
_BKSApplicationStateRunningReasonsKey,
_BKSAssertionErrorDescription,
_BKSAssertionErrorDomain,
_BKSProcessAssertionBackgroundTimeRemaining,
_BKSProcessAssertionSetExpirationHandler,
_BKSProcessDiagnosticReportTypeDescription,
_BKSProcessErrorDomain,
_BKSProcessExtensionPropertyBundleID,
_BKSProcessVisibilityIsForeground,
_BKSProcessVisibilityMax,
_BKSTerminationAssertionActiveEfficacyForBundleIdentifier,
_BKSTerminationAssertionEfficacyDescription,
_BKSTerminationAssertionHeldForBundleIdentifier,
_BKSTerminationAssertionRegisterObserver,
_BKSTerminationAssertionUnregisterObserver,
_BKSWatchdogAssertionCreateForPID,
_BKSWatchdogAssertionGetTypeID,
_NSStringFromBKSProcessErrorCode,
_NSStringFromBKSProcessExitReason,
_NSStringFromBKSProcessTaskState,
_NSStringFromBKSProcessVisibility,
_RBSProcessLegacyStateDescriptor ]
objc-classes: [ BKSApplicationStateMonitor, BKSAssertion,
BKSLaunchdJobSpecification, BKSProcess,
BKSProcessAssertion, BKSProcessExitContext,
BKSTerminationAssertion,
BKSTerminationAssertionObserverManager,
BKSTerminationContext, BKSWorkspace ]
objc-ivars: [ BKSApplicationStateMonitor._elevatedPriority,
BKSApplicationStateMonitor._handler,
BKSApplicationStateMonitor._interestedAssertionReasons,
BKSApplicationStateMonitor._interestedBundleIDs,
BKSApplicationStateMonitor._interestedStates,
BKSApplicationStateMonitor._lock,
BKSApplicationStateMonitor._monitor,
BKSAssertion._acquisitionHandler,
BKSAssertion._attributes,
BKSAssertion._internalAssertion,
BKSAssertion._invalidationHandler,
BKSAssertion._lock, BKSAssertion._name,
BKSAssertion._target,
BKSLaunchdJobSpecification._arguments,
BKSLaunchdJobSpecification._bundleIdentifier,
BKSLaunchdJobSpecification._bundlePath,
BKSLaunchdJobSpecification._environment,
BKSLaunchdJobSpecification._executablePath,
BKSLaunchdJobSpecification._executionOptions,
BKSLaunchdJobSpecification._labelPrefix,
BKSLaunchdJobSpecification._machServices,
BKSLaunchdJobSpecification._managedPersona,
BKSLaunchdJobSpecification._standardError,
BKSLaunchdJobSpecification._standardOutput,
BKSProcess._accessoryAssertion,
BKSProcess._assertion, BKSProcess._audioAssertion,
BKSProcess._bootstrapped,
BKSProcess._connectedToExternalAccessories,
BKSProcess._delegate, BKSProcess._handle,
BKSProcess._identity, BKSProcess._jobSpec,
BKSProcess._lastExitContext, BKSProcess._lock,
BKSProcess._mediaAssertion, BKSProcess._monitor,
BKSProcess._nowPlayingWithAudio,
BKSProcess._processHandle,
BKSProcess._recordingAudio, BKSProcess._taskState,
BKSProcess._terminationReason,
BKSProcess._visibility,
BKSProcess._visibilityAssertion,
BKSProcess._workspaceLocked,
BKSProcessAssertion._flags,
BKSProcessAssertion._mediaPlaybackHackAssertion,
BKSProcessAssertion._reason,
BKSProcessExitContext._exitReason,
BKSTerminationAssertion._bundleIdentifier,
BKSTerminationAssertion._context,
BKSTerminationAssertion._efficacy,
BKSTerminationAssertionObserverManager._calloutQueue,
BKSTerminationAssertionObserverManager._launchPreventedBundleIDs,
BKSTerminationAssertionObserverManager._lock,
BKSTerminationAssertionObserverManager._monitor,
BKSTerminationAssertionObserverManager._monitorIsReady,
BKSTerminationAssertionObserverManager._observers,
BKSTerminationContext._exceptionCode,
BKSTerminationContext._explanation,
BKSTerminationContext._reportType ]
...
Loading

0 comments on commit 1771565

Please sign in to comment.