2023-06-21 11:22:24 +00:00
|
|
|
/* GormAppDelegate.m
|
|
|
|
*
|
|
|
|
* Copyright (C) 2023 Free Software Foundation, Inc.
|
|
|
|
*
|
|
|
|
* Author: Gregory John Casamento <greg.casamento@gmail.com>
|
|
|
|
* Date: 2023
|
|
|
|
*
|
|
|
|
* This file is part of GNUstep.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111
|
|
|
|
* USA.
|
|
|
|
*/
|
2023-06-17 16:14:48 +00:00
|
|
|
|
|
|
|
#include <GormCore/GormCore.h>
|
|
|
|
#include <GormCore/GormPrefs.h>
|
|
|
|
|
|
|
|
#include <GNUstepBase/GSObjCRuntime.h>
|
|
|
|
|
2023-06-21 11:22:24 +00:00
|
|
|
@class NSDictionary;
|
|
|
|
@class NSImage;
|
|
|
|
@class NSMenu;
|
|
|
|
@class NSMutableArray;
|
|
|
|
@class NSSet;
|
|
|
|
|
2023-06-17 16:14:48 +00:00
|
|
|
@interface GormAppDelegate : NSObject <IB, GormAppDelegate, GormServer>
|
|
|
|
{
|
2023-06-21 11:22:24 +00:00
|
|
|
IBOutlet id gormMenu;
|
|
|
|
IBOutlet id guideLineMenuItem;
|
2023-06-17 16:14:48 +00:00
|
|
|
|
|
|
|
GormPrefController *preferencesController;
|
|
|
|
GormClassManager *classManager;
|
|
|
|
GormInspectorsManager *inspectorsManager;
|
|
|
|
GormPalettesManager *palettesManager;
|
|
|
|
GormPluginManager *pluginManager;
|
2023-06-21 11:22:24 +00:00
|
|
|
id<IBSelectionOwners> selectionOwner;
|
|
|
|
BOOL isConnecting;
|
|
|
|
BOOL isTesting;
|
|
|
|
id testContainer;
|
2023-06-17 16:14:48 +00:00
|
|
|
NSMenu *mainMenu; // saves the main menu...
|
|
|
|
NSMenu *servicesMenu; // saves the services menu...
|
|
|
|
NSMenu *classMenu; // so we can set it for the class view
|
|
|
|
NSDictionary *menuLocations;
|
|
|
|
NSImage *linkImage;
|
|
|
|
NSImage *sourceImage;
|
|
|
|
NSImage *targetImage;
|
|
|
|
NSImage *gormImage;
|
|
|
|
NSImage *testingImage;
|
2023-06-21 11:22:24 +00:00
|
|
|
id connectSource;
|
|
|
|
id connectDestination;
|
2023-06-17 16:14:48 +00:00
|
|
|
NSMutableArray *testingWindows;
|
|
|
|
NSSet *topObjects;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|