Annoying 'parse error before' messages
Annoying 'parse error before' messages
- Subject: Annoying 'parse error before' messages
- From: Adam Radestock <email@hidden>
- Date: Wed, 10 Jan 2007 21:41:54 +0000
Hi, I'm having a nightmare trying to find out what is causing these
parse errors... What am I doing wrong?
In file included from /Development/Current Projects/ScreenRunner VJ/
ScreenRunner_VJ_AppDelegate.m:9:
/Development/Current Projects/ScreenRunner VJ/
ScreenRunner_VJ_AppDelegate.h:54: error: parse error before
'NSPersistentStoreCoordinator'
/Development/Current Projects/ScreenRunner VJ/
ScreenRunner_VJ_AppDelegate.h:59: error: parse error before
'NSPersistentStoreCoordinator'
/Development/Current Projects/ScreenRunner VJ/
ScreenRunner_VJ_AppDelegate.h:60: error: parse error before
'NSManagedObjectModel'
/Development/Current Projects/ScreenRunner VJ/
ScreenRunner_VJ_AppDelegate.h:61: error: parse error before
'NSManagedObjectContext'
/Development/Current Projects/ScreenRunner VJ/
ScreenRunner_VJ_AppDelegate.h:62: fatal error: method definition not
in @implementation context
compilation terminated.
{standard input}:12:FATAL:.abort detected. Assembly stopping.
Here is my Header file that the errors refer to:
//
// ScreenRunner_VJ_AppDelegate.h
// ScreenRunner VJ
//
// Created by Adam Radestock on 05/10/2006.
// Copyright Adam Radestock, Glass Monkey, 2006 . All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Carbon/Carbon.h>
#import <ApplicationServices/ApplicationServices.h>
#import <Quartz/Quartz.h>
#import <QTKit/QTKit.h>
#import "RSVerticallyCenteredTextFieldCell.h"
#import "MUPhotoView.h"
#define kBDPATCH_TYPE @"BDPATCH_TYPE"
#define kFIVE_MINUTES 300.0
@class SCRPatch;
@class SCRLibraryController;
@class SCRPlayListController;
@interface ScreenRunner_VJ_AppDelegate : NSObject
{
IBOutlet NSWindow *mainWindow;
IBOutlet QCView *previewQCView;
IBOutlet id *patchController;
IBOutlet NSTableView *libraryTableView;
IBOutlet NSTableView *tempTable;
IBOutlet NSTableView *playlistTableView;
IBOutlet SCRLibraryController *libraryController;
IBOutlet id *playlistController;
IBOutlet NSDrawer *bdMessageEditDrawer;
IBOutlet NSBox *messageBox;
IBOutlet NSTextField *messageTitleField;
IBOutlet NSTextField *messageDescriptionField;
IBOutlet NSImageView *messageWarningIcon;
IBOutlet NSTextField *moviePathTextField;
IBOutlet MUPhotoView *photoView;
IBOutlet NSArrayController *photosArrayController;
IBOutlet NSTextField *cameraStatusText;
IBOutlet NSTextField *cameraNameText;
NSArray* _cameraDataArray;
NSString* _filePath;
NSOpenGLContext* _openGLContext;
NSOpenGLPixelFormat* _format;
QCRenderer* _renderer;
NSTimeInterval _startTime;
NSSize _screenSize;
CVDisplayLinkRef _displayLink;
ICAObject mDeviceList;
NSMutableArray* mDeviceNames;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
}
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;
- (NSString *)applicationSupportFolder;
// My Functions
- (void)renderAtTime:(const CVTimeStamp*)time;
- (void)setLivePatch:(NSString *)patchPath;
- (void)displayMessage:(NSString *)title description:(NSString *)
message withIcon:(BOOL)showingIcon;
- (void)hideMessage;
- (void)passValueToLivePatch:(id *)value forKey:(NSString *)key;
- (NSImage *)rotateImage:(NSImage *)image angle:(int)angle;
- (void)getDevices;
- (void)getDeviceListPropertyDictionary;
- (void)registerForDeviceNotification;
- (void)deviceNotification: (ICAExtendedRegisterEventNotificationPB*)
pbPtr;
- (void)updateCameraStatusText;
- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)
returnCode contextInfo:(void *)contextInfo;
- (IBAction)openAction:sender;
- (IBAction)saveAction:sender;
- (IBAction)setLastOrders:sender;
- (IBAction)setTime:sender;
- (IBAction)setGoodnight:sender;
- (IBAction)openLibraryFolderAction:sender;
- (IBAction)editLineupAction:sender;
- (IBAction)getPhotosAction:(id)sender;
- (IBAction)playSlideShowAction:(id)sender;
- (IBAction)chooseMovieAction:(id)sender;
- (IBAction)playMovieLive:(id)sender;
@end
Thanks for any help,
Adam Radestock
Glass Monkey Design Co.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden