~ubuntu-branches/ubuntu/wily/oolite/wily-proposed

« back to all changes in this revision

Viewing changes to Mac-specific/Oolite-docktile/OODockTilePlugIn.h

  • Committer: Package Import Robot
  • Author(s): Nicolas Boulenguez
  • Date: 2011-12-22 00:22:39 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20111222002239-pr3upeupp4jw1psp
Tags: 1.76-1
* New upstream.
* watch: scan upstream stable releases instead of dev snapshots.
* control: use default gobjc instead of explicit 4.6.
* rules: use dpkg-dev build flags.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
OODockTilePlugIn.h
 
4
 
 
5
Dock tile plug-in: manages dock menu when Oolite is docked but not running
 
6
under Mac OS X 10.6 and later.
 
7
 
 
8
 
 
9
Oolite
 
10
Copyright (C) 2004-2010 Giles C Williams and contributors
 
11
 
 
12
This program is free software; you can redistribute it and/or
 
13
modify it under the terms of the GNU General Public License
 
14
as published by the Free Software Foundation; either version 2
 
15
of the License, or (at your option) any later version.
 
16
 
 
17
This program is distributed in the hope that it will be useful,
 
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
GNU General Public License for more details.
 
21
 
 
22
You should have received a copy of the GNU General Public License
 
23
along with this program; if not, write to the Free Software
 
24
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
25
MA 02110-1301, USA.
 
26
 
 
27
*/
 
28
 
 
29
#import <Cocoa/Cocoa.h>
 
30
 
 
31
 
 
32
@interface OODockTilePlugIn: NSObject <NSDockTilePlugIn>
 
33
#if !__OBJC2__
 
34
{
 
35
@private
 
36
        NSDockTile                              *_dockTile;
 
37
        NSMenu                                  *_dockMenu;
 
38
}
 
39
#endif
 
40
 
 
41
@property (retain) NSDockTile *dockTile;
 
42
@property (assign) IBOutlet NSMenu *dockMenu;
 
43
 
 
44
 
 
45
- (IBAction) showScreenShots:(id)sender;
 
46
- (IBAction) showExpansionPacks:(id)sender;
 
47
- (IBAction) showLatestLog:(id)sender;
 
48
- (IBAction) showLogFolder:(id)sender;
 
49
 
 
50
@end