mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-15 08:00:56 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37221 72102866-910b-0410-8b05-ffd578937521
115 lines
3.3 KiB
Objective-C
115 lines
3.3 KiB
Objective-C
/*
|
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
|
|
|
Copyright (C) 2001 Free Software Foundation
|
|
|
|
This file is part of GNUstep.
|
|
|
|
This application 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 2 of the License, or (at your option) any later version.
|
|
|
|
This application 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
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public
|
|
License along with this library; if not, write to the Free
|
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
|
*/
|
|
|
|
#ifndef _PCMENUCONTROLLER_H
|
|
#define _PCMENUCONTROLLER_H
|
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
@class PCProjectManager;
|
|
@class PCFileManager;
|
|
@class PCAppController;
|
|
|
|
@interface PCMenuController : NSObject
|
|
{
|
|
PCProjectManager *projectManager;
|
|
PCAppController *appController;
|
|
|
|
BOOL editorIsActive;
|
|
}
|
|
|
|
//============================================================================
|
|
//==== Init and free
|
|
//============================================================================
|
|
|
|
- (id)init;
|
|
- (void)dealloc;
|
|
|
|
- (void)setAppController:(id)anObject;
|
|
- (void)setProjectManager:(id)anObject;
|
|
|
|
//============================================================================
|
|
//==== Menu stuff
|
|
//============================================================================
|
|
|
|
// Info
|
|
- (void)showInfoPanel:(id)sender;
|
|
- (void)showPrefWindow:(id)sender;
|
|
- (void)showLogPanel:(id)sender;
|
|
|
|
// Project
|
|
- (void)projectOpen:(id)sender;
|
|
- (void)projectNew:(id)sender;
|
|
- (void)projectSave:(id)sender;
|
|
- (void)projectAddFiles:(id)sender;
|
|
- (void)projectSaveFiles:(id)sender;
|
|
- (void)projectRemoveFiles:(id)sender;
|
|
- (void)projectClose:(id)sender;
|
|
|
|
// Subproject
|
|
- (void)subprojectNew:(id)sender;
|
|
- (void)subprojectAdd:(id)sender;
|
|
|
|
// File
|
|
- (void)fileNew:(id)sender;
|
|
- (void)fileOpen:(id)sender;
|
|
- (void)fileSave:(id)sender;
|
|
- (void)fileSaveAs:(id)sender;
|
|
- (void)fileSaveTo:(id)sender;
|
|
- (void)fileRevertToSaved:(id)sender;
|
|
- (void)fileClose:(id)sender;
|
|
- (void)fileOpenQuickly:(id)sender;
|
|
- (void)fileRename:(id)sender;
|
|
- (void)fileNewUntitled:(id)sender;
|
|
|
|
// Tools
|
|
- (void)showInspector:(id)sender;
|
|
- (void)showEditorPanel:(id)sender;
|
|
// Project Build
|
|
- (void)showBuildPanel:(id)sender;
|
|
- (void)executeBuild:(id)sender;
|
|
- (void)stopBuild:(id)sender;
|
|
- (void)startClean:(id)sender;
|
|
// Loaded Files
|
|
- (void)showLoadedFilesPanel:(id)sender;
|
|
- (void)loadedFilesSortByTime:(id)sender;
|
|
- (void)loadedFilesSortByName:(id)sender;
|
|
- (void)loadedFilesNextFile:(id)sender;
|
|
- (void)loadedFilesPreviousFile:(id)sender;
|
|
// Launcher
|
|
- (void)showLaunchPanel:(id)sender;
|
|
- (void)runTarget:(id)sender;
|
|
- (void)debugTarget:(id)sender;
|
|
|
|
//============================================================================
|
|
//==== Delegate stuff
|
|
//============================================================================
|
|
|
|
- (BOOL)validateMenuItem:(id <NSMenuItem>)menuItem;
|
|
|
|
- (void)editorDidBecomeActive:(NSNotification *)aNotif;
|
|
- (void)editorDidResignActive:(NSNotification *)aNotif;
|
|
|
|
@end
|
|
|
|
#endif
|
|
|