Add a WebView in preparation for the page info. Refactor SidebarEntry out of Mod. Add an "Other" category with links for support/credits+legal.

This commit is contained in:
Paul Chote
2010-11-16 17:02:34 +13:00
parent 7271dd5248
commit de7668e8ff
11 changed files with 334 additions and 162 deletions

30
OpenRA.Launcher.Mac/Mod.h Normal file
View File

@@ -0,0 +1,30 @@
/*
* Copyright 2007-2010 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see LICENSE.
*/
#import <Cocoa/Cocoa.h>
@interface Mod : NSObject {
NSString *mod;
NSString *title;
NSString *version;
NSString *author;
NSString *requires;
BOOL standalone;
}
@property (readonly) NSString *mod;
@property (readonly) NSString *title;
@property (readonly) NSString *version;
@property (readonly) NSString *author;
@property (readonly) NSString *description;
@property (readonly) NSString *requires;
@property (readonly) BOOL standalone;
+ (id)modWithId:(NSString *)mid fields:(id)fields;
- (id)initWithId:(NSString *)mod fields:(NSDictionary *)fields;
@end