<commit_before>//
//  ProjetaAppDelegate.h
//  Projeta
//
//  Created by <NAME> on 10/06/11.
//  Copyright 2011 <NAME>. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MainWindowController.h"
#import "PreferencesController.h"
@class MainWindow;
@class MainWindowController;

@interface ProjetaAppDelegate : NSObject <NSApplicationDelegate> {
    NSWindow *_window;
    NSPersistentStoreCoordinator *__persistentStoreCoordinator;
    NSManagedObjectModel *__managedObjectModel;
    NSManagedObjectContext *__managedObjectContext;
    
    PreferencesController *preferencesController;
}

@property (strong) IBOutlet NSWindow *window;

@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;

- (IBAction)saveAction:(id)sender;

// 
- (IBAction)newMainWindow:(id)sender;
// preferences window.
- (IBAction)openPreferences:(id)sender;

// removes reference to main window that will be closed
+ (void)removeMainWindow:(MainWindowController*)window;

@end
<commit_msg>comment added<commit_after>//
//  ProjetaAppDelegate.h
//  Projeta
//
//  Created by <NAME> on 10/06/11.
//  Copyright 2011 <NAME>. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MainWindowController.h"
#import "PreferencesController.h"
@class MainWindow;
@class MainWindowController;

@interface ProjetaAppDelegate : NSObject <NSApplicationDelegate> {
    NSWindow *_window;
    NSPersistentStoreCoordinator *__persistentStoreCoordinator;
    NSManagedObjectModel *__managedObjectModel;
    NSManagedObjectContext *__managedObjectContext;
    
    // preferences window
    PreferencesController *preferencesController;
}

@property (strong) IBOutlet NSWindow *window;

@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;

- (IBAction)saveAction:(id)sender;

// 
- (IBAction)newMainWindow:(id)sender;
// preferences window.
- (IBAction)openPreferences:(id)sender;

// removes reference to main window that will be closed
+ (void)removeMainWindow:(MainWindowController*)window;

@end

{'fraction_non_alphanumeric': 0.10367892976588629, 'fraction_numerical': 0.008361204013377926, 'mean_word_length': 6.0175953079178885, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2333211', 'n_tokens_mistral': 735, 'n_tokens_neox': 696, 'n_words': 157}