aka RedditBar, Mac OS X menu bar reddit client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppDelegate.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // AppDelegate.h
  3. // RedditBar
  4. //
  5. // Created by Thomas Buck on 30.11.13.
  6. // Copyright (c) 2013 xythobuz. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. #import "PrefController.h"
  10. #import "StateModel.h"
  11. #import "Reddit.h"
  12. @interface AppDelegate : NSObject <NSApplicationDelegate>
  13. @property (atomic, retain) IBOutlet NSMenu *statusMenu;
  14. @property (atomic, retain) IBOutlet NSApplication *application;
  15. @property (weak) IBOutlet NSMenuItem *firstMenuItem;
  16. @property (atomic, retain) NSStatusItem *statusItem;
  17. @property (atomic, retain) NSImage *statusImage;
  18. @property (atomic, retain) NSImage *statusHighlightImage;
  19. @property (atomic, retain) PrefController *prefWindow;
  20. @property (atomic, retain) StateModel *currentState;
  21. @property (atomic, retain) Reddit *api;
  22. @property (atomic, retain) NSArray *menuItems;
  23. @property (atomic, retain) NSArray *redditItems;
  24. -(IBAction)showPreferences:(id)sender;
  25. -(IBAction)showAbout:(id)sender;
  26. -(IBAction)linkToOpen:(id)sender;
  27. -(void)prefReturnName:(NSString *)name Modhash:(NSString *)modhash subscriptions:(Boolean)subscriptions subreddits:(NSString *)subreddits length:(NSInteger)length;
  28. @end