~ubuntu-branches/ubuntu/vivid/projectcenter.app/vivid

« back to all changes in this revision

Viewing changes to Headers/ProjectCenter/PCFileCreator.h

  • Committer: Bazaar Package Importer
  • Author(s): Yavor Doganov
  • Date: 2010-06-03 16:04:52 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100603160452-dcsmkjwdtwxuitdo
Tags: 0.5.3~20100601-1
* New upstream release.
* debian/compat: Set to 7.
* debian/control (Section): Change to `gnustep'.
  (Build-Depends): Require debhelper >= 7, remove version constraints
  for libgnustep-gui-dev (obsolete).
  (Depends): Add ${gnustep:Depends}.
  (Standards-Version): Compliant with 3.8.4 as of this release.
  (Vcs-Arch): New field.
  (Description): Do not praise NextStep.
* debian/rules: Export GNUSTEP_MAKEFILES and get rid of gs_make.
  (OPTFLAG): No longer define; rework noopt handling to be compatible
  with gnustep-make/2.4.x (Closes: #581976).
  (build-stamp): Pass GDB=/usr/bin/gdb for the PCDefaultDebugger
  define.
  (install): Replace dh_clean -k with dh_prep.
  (binary-arch): Adjust dh_installchangelogs' argument.  Rework the
  FHS_ME_HARDER snippet; PC's supporting executables are no longer
  installed as Bundles.
* debian/patches/05_link-libs.dpatch: Update; the fix was merged
  upstream, but now -lm is required as well.
* debian/patches/10_bundles-install-dir.dpatch: Remove; obsolete with
  the new way of FHS-compliance handling.
* debian/links: Delete; no longer needed.
* debian/menu: Adjust command.
* debian/source/format:
* debian/README.source:
* debian/preinst: New file.
* debian/copyright: Bump copyright years, add more upstream authors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef _PCFileCreator_h_
27
27
#define _PCFileCreator_h_
28
28
 
29
 
#include <AppKit/AppKit.h>
 
29
#import <AppKit/AppKit.h>
30
30
 
31
31
#define ProtocolFile    @"Objective-C Protocol"
32
32
#define ObjCClass       @"Objective-C Class"
48
48
  IBOutlet NSPopUpButton *nfTypePB;
49
49
  IBOutlet NSTextView    *nfDescriptionTV;
50
50
  IBOutlet NSTextField   *nfNameField;
51
 
  IBOutlet NSButton      *nfCancleButton;
 
51
  IBOutlet NSButton      *nfCancelButton;
52
52
  IBOutlet NSButton      *nfCreateButton;
 
53
  IBOutlet NSButton      *nfAddHeaderButton;
53
54
}
54
55
 
55
56
+ (id)sharedCreator;
57
58
- (NSDictionary *)creatorDictionary;
58
59
 
59
60
- (void)newFileInProject:(PCProject *)aProject;
60
 
// The implementation needs some heavy cleanup!
61
 
- (NSDictionary *)createFileOfType:(NSString *)type
62
 
                              path:(NSString *)path
63
 
                           project:(PCProject *)aProject;
 
61
 
 
62
- (void)createFileOfType:(NSString *)fileType
 
63
                    path:(NSString *)path
 
64
                 project:(PCProject *)project;
 
65
 
 
66
// Return list of file paths for creation
 
67
- (NSDictionary *)filesToCreateForFileOfType:(NSString *)type
 
68
                                        path:(NSString *)path
 
69
                           withComplementary:(BOOL)complementary;
 
70
- (BOOL)createFiles:(NSDictionary *)fileList
 
71
          inProject:(PCProject *)aProject;
64
72
 
65
73
- (void)replaceTagsInFileAtPath:(NSString *)newFile
66
74
                    withProject:(PCProject *)aProject;
74
82
- (void)createFile:(id)sender;
75
83
- (void)newFilePopupChanged:(id)sender;
76
84
- (void)controlTextDidChange:(NSNotification *)aNotif;
77
 
- (void)createFile;
 
85
- (BOOL)createFile;
78
86
 
79
87
@end
80
88