mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-04 06:37:08 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.3 KiB
Swift
43 lines
1.3 KiB
Swift
import Foundation
|
|
import GGSettingsUI
|
|
import GGFeaturesShared
|
|
import GGGhostMode
|
|
import GGAntiDelete
|
|
import GGMessages
|
|
import GGAppearance
|
|
import GGInterface
|
|
import GGVoice
|
|
import GGCameraMasks
|
|
import GGCallsMedia
|
|
import GGSecurity
|
|
import GGNetworkSpoof
|
|
import GGVless
|
|
import GGProfileExport
|
|
import GGExtras
|
|
|
|
/// Aggregator of the feature modules, called from `AppDelegate` (see FOUNDATION_SPEC §2):
|
|
/// `GGCore.bootstrap` → `GGFeatures.registerAll()` → `GGCore.runGlobalMigrations()` →
|
|
/// `GGHookRegistry.freeze()`. Only `register()` calls live here; nobody edits it after wave 1.
|
|
public enum GGFeatures {
|
|
public static func registerAll() {
|
|
assert(Thread.isMainThread)
|
|
// The menu skeleton first: features add rows to its sections.
|
|
GGSettingsUI.register()
|
|
GGFeaturesShared.registerForApp()
|
|
GGGhostModeModule.register()
|
|
GGAntiDeleteModule.register()
|
|
GGMessagesModule.register()
|
|
GGAppearanceModule.register()
|
|
GGInterfaceModule.register()
|
|
GGVoiceModule.register()
|
|
GGCameraMasksModule.register()
|
|
GGCallsMediaModule.register()
|
|
GGSecurityModule.register()
|
|
GGNetworkSpoofModule.register()
|
|
GGVlessModule.register()
|
|
GGProfileExportModule.register()
|
|
// W5-SG: Swiftgram-parity features.
|
|
GGExtrasModule.register()
|
|
}
|
|
}
|