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

« back to all changes in this revision

Viewing changes to Headers/ProjectCenter/PCProjectManager.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 _PCProjectManager_h_
27
27
#define _PCProjectManager_h_
28
28
 
29
 
#include <AppKit/AppKit.h>
 
29
#import <AppKit/AppKit.h>
 
30
 
 
31
#import <Protocols/Preferences.h>
30
32
 
31
33
@class PCBundleManager;
32
34
@class PCFileManager;
45
47
@interface PCProjectManager : NSObject
46
48
{
47
49
  id                  delegate;
48
 
  id                  prefController;
 
50
  id <PCPreferences>  prefController;
49
51
 
50
52
  PCBundleManager     *bundleManager;
51
53
  NSMutableDictionary *projectTypes;
87
89
// ==== Intialization & deallocation
88
90
// ============================================================================
89
91
- (id)init;
 
92
- (BOOL)close;
90
93
- (void)dealloc;
91
94
- (void)setDelegate:(id)aDelegate;
92
95
- (id)delegate;
93
96
- (void)setPrefController:(id)aController;
94
 
- (id)prefController;
 
97
- (id <PCPreferences>)prefController;
95
98
 
96
99
- (void)createProjectTypeAccessaryView;
97
100
- (NSMutableDictionary *)loadProjectTypesInfo;
117
120
- (NSPanel *)buildPanel;
118
121
- (NSPanel *)launchPanel;
119
122
- (NSPanel *)projectFinderPanel;
120
 
- (NSString *)projectPath;
121
 
- (NSString *)selectedFileName;
122
123
 
123
124
// ============================================================================
124
125
// ==== Project management
125
126
// ============================================================================
126
127
 
127
 
// Returns all currently loaded projects. They are stored with their absolut
128
 
// paths as the keys.
 
128
// Returns all currently loaded projects. They are stored with their absolute
 
129
// paths as keys.
129
130
- (NSMutableDictionary *)loadedProjects;
130
131
- (PCProject *)activeProject;
131
132
- (PCProject *)rootActiveProject;
137
138
 
138
139
- (PCProject *)convertLegacyProject:(NSMutableDictionary *)pDict
139
140
                             atPath:(NSString *)aPath;
140
 
                            
141
 
// Returns the loaded project if the builder class is known, nil else.
142
 
- (PCProject *)loadProjectAt:(NSString *)aPath;
143
 
 
144
 
// Invokes loadProjectAt to load the project properly.
145
 
- (BOOL)openProjectAt:(NSString *)aPath;
146
 
 
 
141
- (PCProject *)openProjectAt:(NSString *)aPath makeActive: (BOOL)flag;
 
142
- (void)openProject;
147
143
- (PCProject *)createProjectOfType:(NSString *)projectType 
148
144
                              path:(NSString *)aPath;
149
 
 
150
 
- (void)openProject;
151
145
- (void)newProject;
152
146
- (BOOL)saveProject;
153
147
 
203
197
 
204
198
@interface PCProjectManager (Subprojects)
205
199
 
206
 
- (BOOL)newSubproject;
207
 
- (BOOL)addSubproject;
 
200
- (BOOL)openNewSubprojectPanel;
208
201
- (void)closeNewSubprojectPanel:(id)sender;
209
 
- (BOOL)createSubproject:(id)sender;
 
202
 
 
203
- (void)createSubproject:(id)sender;
210
204
- (PCProject *)createSubprojectOfType:(NSString *)projectType 
211
205
                                 path:(NSString *)aPath;
212
 
- (BOOL)createSubproject;
 
206
- (BOOL)addSubproject;
213
207
@end
214
208
 
215
209
#endif