summaryrefslogtreecommitdiff
path: root/macosx/RecentItemsMenu.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-12-20 22:42:36 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-12-20 22:42:36 +0000
commitec03001040a634987b658e4b79e377ec4fd2e959 (patch)
treed7a140be2703c4a92de736203ef02c70afb57787 /macosx/RecentItemsMenu.h
parentb35a42b0a1f8424b3e92b66bd315274ce748c2bb (diff)
downloadpcsxr-ec03001040a634987b658e4b79e377ec4fd2e959.tar.gz
Add a recent menu.
Ignoring Xcode 4 generated files. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81905 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/RecentItemsMenu.h')
-rw-r--r--macosx/RecentItemsMenu.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/macosx/RecentItemsMenu.h b/macosx/RecentItemsMenu.h
new file mode 100644
index 00000000..21c518c8
--- /dev/null
+++ b/macosx/RecentItemsMenu.h
@@ -0,0 +1,23 @@
+//
+// RecentItemsMenu.h
+// Pcsxr
+//
+// Created by Nicolas Pepin-Perreault on 12-12-16.
+//
+//
+
+#import <Cocoa/Cocoa.h>
+#import "PcsxrController.h"
+
+@class PcsxrController;
+@interface RecentItemsMenu : NSMenu {
+ IBOutlet PcsxrController *pcsxr;
+}
+
+- (IBAction)clearRecentDocuments:(id)sender;
+- (void)addRecentItem:(NSURL*)documentURL;
+- (NSMenuItem*)createMenuItem:(NSURL*)documentURL;
+- (void)openRecentItem:(NSMenuItem*)sender;
+- (void)addMenuItem:(NSMenuItem*)item;
+
+@end