Files
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

82 lines
1.4 KiB
Objective-C

/* Example for use of GNU gettext.
This file is in the public domain.
Source code of the AppController class. */
#include "AppController.h"
#include "Hello.h"
@implementation AppController
static NSDictionary *infoDict = nil;
+ (void)initialize
{
NSMutableDictionary *defaults = [NSMutableDictionary dictionary];
[[NSUserDefaults standardUserDefaults] registerDefaults: defaults];
[[NSUserDefaults standardUserDefaults] synchronize];
}
- (id)init
{
self = [super init];
return self;
}
- (void)dealloc
{
if (hello)
RELEASE (hello);
[super dealloc];
}
- (void)awakeFromNib
{
}
- (void)applicationDidFinishLaunching:(NSNotification *)notif
{
}
- (BOOL)applicationShouldTerminate:(id)sender
{
return YES;
}
- (void)applicationWillTerminate:(NSNotification *)notification
{
}
- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName
{
}
- (void)showPrefPanel:(id)sender
{
}
- (void)showInfoPanel:(id)sender
{
if (!infoDict)
{
NSString *fp;
NSBundle *bundle = [NSBundle mainBundle];
fp = [bundle pathForResource: @"Info-project" ofType: @"plist"];
infoDict = [[NSDictionary dictionaryWithContentsOfFile: fp] retain];
}
[[NSApplication sharedApplication] orderFrontStandardInfoPanelWithOptions: infoDict];
}
- (void)showHelloWindow:(id)sender
{
if (!hello)
hello = [[Hello alloc] init];
[hello makeKeyAndOrderFront];
}
@end