Files
ichmagmaus111andClaude Opus 5.5 0622057a4f Ghostgram: open-source release
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:57:09 +01:00

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()
}
}