/* RetroArch - A frontend for libretro. * Copyright (C) 2013 - Jason Fetters * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Found- * ation, either version 3 of the License, or (at your option) any later version. * * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with RetroArch. * If not, see . */ #ifndef _RARCH_APPLE_VIEWS_H #define _RARCH_APPLE_VIEWS_H #import "RAModuleInfo.h" // RALogView.m @interface RALogView : UITableViewController @end // utility.m @interface RATableViewController : UITableViewController @property NSMutableArray* sections; @property BOOL hidesHeaders; - (id)initWithStyle:(UITableViewStyle)style; - (id)itemForIndexPath:(NSIndexPath*)indexPath; - (void)reset; @end // browser.m @interface RADirectoryItem : NSObject @property (strong) NSString* path; @property bool isDirectory; @end // browser.m @protocol RADirectoryListDelegate - (bool)directoryList:(id)list itemWasSelected:(RADirectoryItem*)path; @end @interface RADirectoryList : RATableViewController @property (nonatomic, weak) RADirectoryItem *selectedItem; - (id)initWithPath:(NSString*)path delegate:(id)delegate; @end // browser.m @protocol RAModuleListDelegate - (bool)moduleList:(id)list itemWasSelected:(RAModuleInfo*)module; @end @interface RAModuleList : RATableViewController - (id)initWithGame:(NSString*)path delegate:(id)delegate; @end // browser.m @interface RAFoldersList : UITableViewController - (id) initWithFilePath:(NSString *)path; @end // RAModuleInfo.m @interface RAModuleInfoList : RATableViewController - (id)initWithModuleInfo:(RAModuleInfo*)info; @end // settings.m @interface RASettingsSubList : RATableViewController - (id)initWithSettings:(NSArray*)values title:(NSString*)title; - (void)writeSettings:(NSArray*)settingList toConfig:(config_file_t*)config; - (bool)isSettingsView; @end // settings.m @interface RASettingsList : RASettingsSubList + (void)refreshModuleConfig:(RAModuleInfo*)module; - (id)initWithModule:(RAModuleInfo*)module; @end // settings.m @interface RASystemSettingsList : RASettingsSubList @end #endif