apps-gorm/GormCore/GormDocumentController.h
Gregory John Casamento 2f64f6a5a5 * English.lproj/Gorm.gorm: Remove delegate connection, since it's
manually set in the Gorm NSApplication subclass to self.
	* GormCore/GormDocumentController.[hm]: Added new method 
	buildDocumentType:
	* GormCore/GormDocument.m: Added call to touch in setName: so that
	the document would be set as modified when the user alters
	the name of an object in the document.
	* GormCore/GormDocumentWindow.m: Remove methods preventing
	document window from assuming main/key status.
	* GormCore/GormPalettesManager.m: Remove methods allowing palette
	window to assume main/key status
	* Gorm.m: Added delegate methods to handle opening a document, if
	in a mode which requires a default document to be created.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30417 72102866-910b-0410-8b05-ffd578937521
2010-05-19 00:26:34 +00:00

50 lines
1.5 KiB
Objective-C

/* GormDocumentController.m
*
* This class contains Gorm specific implementation of the IBDocuments
* protocol plus additional methods which are useful for managing the
* contents of the document.
*
* Copyright (C) 2006 Free Software Foundation, Inc.
*
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
* Date: 2006
*
* 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.
*/
#ifndef INCLUDED_GormDocumentController_h
#define INCLUDED_GormDocumentController_h
#include <AppKit/NSDocumentController.h>
typedef enum
{
GormApplication = 0,
GormEmpty = 1,
GormInspector = 2,
GormPalette = 3
} GormDocumentType;
@interface GormDocumentController : NSDocumentController
{
}
- (void) buildDocumentForType: (GormDocumentType)documentType;
@end
#endif