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

31 lines
1.1 KiB
Swift

import Foundation
/// Entry point of the GGInterface feature module. Owner: W2-5.
public enum GGInterfaceModule {
/// Declares settings, menu rows, hook handlers and migrations. Called once on the main
/// thread from `GGFeatures.registerAll()`, before `GGHookRegistry.freeze()`.
public static func register() {
assert(Thread.isMainThread)
InterfaceSettings.declare()
InterfaceMigrations.register()
// Hot paths read this snapshot; it follows every settings change from here on.
InterfaceSnapshots.shared.start()
GGChatListFeature.register()
GGFoldersFeature.register()
GGTabBarFeature.register()
GGSettingsTabLayout.register()
GGInputFeature.register()
GGInputBarEditor.register()
GGQuickButtonsFeature.register()
GGCustomReactions.register()
GGIconPackResolver.shared.register()
GGIconPackStorage.shared.migrateLegacyPacksIfNeeded()
GGIslandBadge.shared.register()
// Handlers of points that request R4/R9 add to GGHooks (Sources/Pending).
GGInterfacePending.register()
InterfaceMenu.register()
}
}