![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OOOXZManager.h>
Instance Methods | |
(NSString *) | - installPath |
(BOOL) | - updateManifests |
(BOOL) | - cancelUpdate |
(NSArray *) | - manifests |
(NSArray *) | - managedOXZs |
(void) | - gui |
(BOOL) | - isRestarting |
(BOOL) | - isAcceptingTextInput |
(BOOL) | - isAcceptingGUIInput |
(void) | - processSelection |
(void) | - processTextInput: |
(void) | - refreshTextInput: |
(void) | - processFilterKey |
(void) | - processShowInfoKey |
(void) | - processExtractKey |
(OOGUIRow) | - showInstallOptions |
(OOGUIRow) | - showRemoveOptions |
(void) | - showOptionsUpdate |
(void) | - showOptionsPrev |
(void) | - showOptionsNext |
(void) | - processOptionsPrev |
(void) | - processOptionsNext |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
(NSString *) | - extractionBasePathForIdentifier:andVersion: [implementation] |
(BOOL) | - ensureInstallPath [implementation] |
(NSString *) | - manifestPath [implementation] |
(NSString *) | - downloadPath [implementation] |
(NSString *) | - dataURL [implementation] |
(NSString *) | - humanSize: [implementation] |
(void) | - setOXZList: [implementation] |
(void) | - setFilteredList: [implementation] |
(void) | - setFilter: [implementation] |
(NSArray *) | - applyCurrentFilter: [implementation] |
(BOOL) | - applyFilterByNoFilter: [implementation] |
(BOOL) | - applyFilterByUpdateRequired: [implementation] |
(BOOL) | - applyFilterByInstallable: [implementation] |
(BOOL) | - applyFilterByKeyword:keyword: [implementation] |
(BOOL) | - applyFilterByAuthor:author: [implementation] |
(BOOL) | - applyFilterByDays:days: [implementation] |
(BOOL) | - applyFilterByTag:tag: [implementation] |
(BOOL) | - applyFilterByCategory:category: [implementation] |
(BOOL) | - validateFilter: [implementation] |
(void) | - setCurrentDownload:withLabel: [implementation] |
(void) | - setProgressStatus: [implementation] |
(BOOL) | - beginDownload: [implementation] |
(BOOL) | - processDownloadedManifests [implementation] |
(BOOL) | - processDownloadedOXZ [implementation] |
(NSDictionary *) | - installedManifestForIdentifier: [implementation] |
(OXZInstallableState) | - installableState: [implementation] |
(OOColor *) | - colorForManifest: [implementation] |
(NSString *) | - installStatusForManifest: [implementation] |
(BOOL) | - installOXZ: [implementation] |
(BOOL) | - updateAllOXZ [implementation] |
(NSArray *) | - installOptions [implementation] |
(BOOL) | - removeOXZ: [implementation] |
(NSArray *) | - removeOptions [implementation] |
(NSString *) | - extractOXZ: [implementation] |
(void) | - connection:didReceiveResponse: [implementation] |
(void) | - connection:didReceiveData: [implementation] |
(void) | - connectionDidFinishLoading: [implementation] |
(void) | - connection:didFailWithError: [implementation] |
Class Methods | |
(OOOXZManager *) | + sharedManager |
Private Attributes | |
NSArray * | _oxzList |
NSArray * | _managedList |
NSArray * | _filteredList |
NSString * | _currentFilter |
OXZInterfaceState | _interfaceState |
BOOL | _interfaceShowingOXZDetail |
BOOL | _changesMade |
NSURLConnection * | _currentDownload |
NSString * | _currentDownloadName |
OXZDownloadStatus | _downloadStatus |
NSUInteger | _downloadProgress |
NSUInteger | _downloadExpected |
NSFileHandle * | _fileWriter |
NSUInteger | _item |
BOOL | _downloadAllDependencies |
NSUInteger | _offset |
NSString * | _progressStatus |
NSMutableSet * | _dependencyStack |
Definition at line 60 of file OOOXZManager.h.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 370 of file OOOXZManager.m.
References kOOOXZFilterAuthor, kOOOXZFilterCategory, kOOOXZFilterDays, kOOOXZFilterInstallable, kOOOXZFilterKeyword, kOOOXZFilterTag, kOOOXZFilterUpdates, and nil.
Referenced by gui, and showOptionsUpdate.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 483 of file OOOXZManager.m.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 529 of file OOOXZManager.m.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 493 of file OOOXZManager.m.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 448 of file OOOXZManager.m.
References OXZ_UNINSTALLABLE_ALREADY.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 454 of file OOOXZManager.m.
References nil.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 436 of file OOOXZManager.m.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 509 of file OOOXZManager.m.
References nil.
|
implementation |
Provided by category OOOXZManager(OOFilterRules).
Definition at line 442 of file OOOXZManager.m.
References OXZ_INSTALLABLE_UPDATE.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 595 of file OOOXZManager.m.
References DESC, OOOXZManager(NSURLConnectionDataDelegate)::downloadPath, kOOOXZDebugLog, kOOOXZErrorLog, nil, OOLog, OXZ_DOWNLOAD_ERROR, OXZ_STATE_UPDATING, and setCurrentDownload:withLabel:.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::installOXZ:, and updateManifests.
- (BOOL) cancelUpdate |
Definition at line 627 of file OOOXZManager.m.
References _currentDownload, _downloadStatus, _interfaceState, cancelUpdate, downloadPath, gui, kOOOXZDebugLog, nil, OOLog, OXZ_DOWNLOAD_COMPLETE, OXZ_DOWNLOAD_NONE, OXZ_STATE_INSTALLING, OXZ_STATE_MAIN, OXZ_STATE_PICK_INSTALL, and OXZ_STATE_UPDATING.
Referenced by cancelUpdate, OOOXZManager(NSURLConnectionDataDelegate)::connection:didReceiveResponse:, and processSelection.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1059 of file OOOXZManager.m.
References OOColor::blueColor, OOColor::brownColor, OOColor::cyanColor, OOColor::grayColor, OOColor::orangeColor, OXZ_INSTALLABLE_CONFLICTS, OXZ_INSTALLABLE_DEPENDENCIES, OXZ_INSTALLABLE_OKAY, OXZ_INSTALLABLE_UPDATE, OXZ_UNINSTALLABLE_ALREADY, OXZ_UNINSTALLABLE_MANUAL, OXZ_UNINSTALLABLE_NOREMOTE, OXZ_UNINSTALLABLE_VERSION, OOColor::redColor, OOColor::whiteColor, and OOColor::yellowColor.
Referenced by showInstallOptions, and showRemoveOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 2343 of file OOOXZManager.m.
References DESTROY, kOOOXZErrorLog, OOLog, and OXZ_DOWNLOAD_ERROR.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 2285 of file OOOXZManager.m.
References gui, kOOOXZDebugLog, and OOLog.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 2267 of file OOOXZManager.m.
References cancelUpdate, DESTROY, downloadPath, kOOOXZDebugLog, kOOOXZErrorLog, nil, OOLog, and OXZ_DOWNLOAD_RECEIVING.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 2313 of file OOOXZManager.m.
References DESTROY, kOOOXZDebugLog, kOOOXZErrorLog, OOLog, OXZ_DOWNLOAD_COMPLETE, OXZ_DOWNLOAD_ERROR, OXZ_STATE_INSTALLING, OXZ_STATE_UPDATING, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 311 of file OOOXZManager.m.
References OOOXZManager(NSURLConnectionDataDelegate)::dataURL, kOOOXZDataURL, and nil.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::dataURL, and updateManifests.
|
implementation |
Definition at line 216 of file OOOXZManager.m.
References _filteredList, _managedList, _oxzList, dealloc, DESTROY, nil, setCurrentDownload:withLabel:, and sSingleton.
Referenced by dealloc.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 298 of file OOOXZManager.m.
References OOCacheManager::cacheDirectoryPathCreatingIfNecessary:, OOOXZManager(NSURLConnectionDataDelegate)::downloadPath, OXZ_STATE_UPDATING, and OOCacheManager::sharedCache.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::beginDownload:, cancelUpdate, OOOXZManager(NSURLConnectionDataDelegate)::connection:didReceiveResponse:, OOOXZManager(NSURLConnectionDataDelegate)::downloadPath, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 263 of file OOOXZManager.m.
References OOOXZManager(NSURLConnectionDataDelegate)::ensureInstallPath, installPath, kOOOXZErrorLog, nil, and OOLog.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::ensureInstallPath, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 253 of file OOOXZManager.m.
References ResourceManager::userRootPaths.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::extractOXZ:, and gui.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 2132 of file OOOXZManager.m.
References extractionBasePathForIdentifier:andVersion:, kOOOXZDebugLog, kOOOXZErrorLog, nil, OOLog, UNZ_OK, unzClose(), unzGetCurrentFileInfo64(), unzGoToFirstFile(), unzGoToNextFile(), and unzOpen64().
Referenced by processSelection.
- (void) gui |
Definition at line 1110 of file OOOXZManager.m.
References _changesMade, _downloadStatus, _interfaceState, _oxzList, GuiDisplayGen::addLongText:startingAtRow:align:, applyCurrentFilter:, GuiDisplayGen::clearAndKeepBackground:, ResourceManager::clearCaches, extractionBasePathForIdentifier:andVersion:, OOColor::grayColor, OOColor::greenColor, gui, humanSize:, managedOXZs, nil, OOColor::orangeColor, OXZ_DOWNLOAD_COMPLETE, OXZ_GUI_ROW_CANCEL, OXZ_GUI_ROW_EXIT, OXZ_GUI_ROW_INSTALL, OXZ_GUI_ROW_INSTALLED, OXZ_GUI_ROW_PROCEED, OXZ_GUI_ROW_UPDATE, OXZ_STATE_DEPENDENCIES, OXZ_STATE_EXTRACT, OXZ_STATE_EXTRACTDONE, OXZ_STATE_INSTALLING, OXZ_STATE_MAIN, OXZ_STATE_NODATA, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, OXZ_STATE_REMOVING, OXZ_STATE_RESTARTING, OXZ_STATE_SETFILTER, OXZ_STATE_TASKDONE, OXZ_STATE_UPDATING, GuiDisplayGen::setColor:forRow:, setFilteredList:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectableRange:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setText:forRow:align:, GuiDisplayGen::setTitle:, showInstallOptions, and showRemoveOptions.
Referenced by cancelUpdate, OOOXZManager(NSURLConnectionDataDelegate)::connection:didReceiveData:, gui, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ, processExtractKey, processFilterKey, processSelection, processShowInfoKey, processTextInput:, refreshTextInput:, OOOXZManager(NSURLConnectionDataDelegate)::removeOXZ:, PlayerEntity::setGuiToOXZManager, showInstallOptions, showOptionsNext, showOptionsPrev, and showRemoveOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 323 of file OOOXZManager.m.
References DESC.
Referenced by gui, and showInstallOptions.
|
implementation |
Definition at line 194 of file OOOXZManager.m.
References _changesMade, _currentFilter, _dependencyStack, _downloadAllDependencies, _downloadStatus, _interfaceShowingOXZDetail, _interfaceState, _oxzList, init, kOOOXZDebugLog, manifestPath, nil, OOLog, OXZ_DOWNLOAD_NONE, OXZ_STATE_NODATA, setOXZList:, and setProgressStatus:.
Referenced by init.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 992 of file OOOXZManager.m.
References CompareVersions(), ComponentsFromVersionString(), installedManifestForIdentifier:, kOOManifestAvailableVersion, kOOManifestFilePath, kOOManifestVersion, ResourceManager::manifestForIdentifier:, nil, OOLog, OXZ_INSTALLABLE_CONFLICTS, OXZ_INSTALLABLE_DEPENDENCIES, OXZ_INSTALLABLE_OKAY, OXZ_INSTALLABLE_UPDATE, OXZ_UNINSTALLABLE_ALREADY, OXZ_UNINSTALLABLE_MANUAL, OXZ_UNINSTALLABLE_NOREMOTE, and OXZ_UNINSTALLABLE_VERSION.
|
implementation |
Definition at line 977 of file OOOXZManager.m.
References kOOManifestIdentifier, managedOXZs, and nil.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::installableState:.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1711 of file OOOXZManager.m.
References count, OOOXZManager(NSURLConnectionDataDelegate)::installOptions, and OXZ_GUI_NUM_LISTROWS.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::installOptions, and showInstallOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1644 of file OOOXZManager.m.
References beginDownload:, count, kOOOXZDebugLog, kOOOXZErrorLog, nil, OOLog, OXZ_DOWNLOAD_NONE, OXZ_DOWNLOAD_STARTED, OXZ_STATE_INSTALLING, OXZ_UNINSTALLABLE_ALREADY, and setProgressStatus:.
Referenced by processSelection, and OOOXZManager(NSURLConnectionDataDelegate)::updateAllOXZ.
- (NSString *) installPath |
Definition at line 232 of file OOOXZManager.m.
References installPath, and nil.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::ensureInstallPath, installPath, managedOXZs, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ, ResourceManager::rootPaths, and showInstallOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1084 of file OOOXZManager.m.
References DESC, nil, OXZ_INSTALLABLE_CONFLICTS, OXZ_INSTALLABLE_DEPENDENCIES, OXZ_INSTALLABLE_OKAY, OXZ_INSTALLABLE_UPDATE, OXZ_UNINSTALLABLE_ALREADY, OXZ_UNINSTALLABLE_MANUAL, OXZ_UNINSTALLABLE_NOREMOTE, and OXZ_UNINSTALLABLE_VERSION.
Referenced by showInstallOptions, and showRemoveOptions.
- (BOOL) isAcceptingGUIInput |
Definition at line 1496 of file OOOXZManager.m.
References _interfaceShowingOXZDetail, and isAcceptingGUIInput.
Referenced by isAcceptingGUIInput.
- (BOOL) isAcceptingTextInput |
Definition at line 1490 of file OOOXZManager.m.
References _interfaceState, isAcceptingTextInput, and OXZ_STATE_SETFILTER.
Referenced by isAcceptingTextInput.
- (BOOL) isRestarting |
Definition at line 1332 of file OOOXZManager.m.
References _changesMade, _downloadStatus, _interfaceState, EXPECT_NOT, isRestarting, OXZ_DOWNLOAD_NONE, OXZ_STATE_MAIN, OXZ_STATE_RESTARTING, and ResourceManager::reset.
Referenced by isRestarting.
- (NSArray *) managedOXZs |
Definition at line 663 of file OOOXZManager.m.
References _managedList, _oxzList, installPath, kOOManifestIdentifier, managedOXZs, manifests, nil, OODictionaryFromFile(), and ResourceManager::resetManifestKnowledgeForOXZManager.
Referenced by gui, installedManifestForIdentifier:, managedOXZs, showOptionsUpdate, and showRemoveOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 289 of file OOOXZManager.m.
References OOCacheManager::cacheDirectoryPathCreatingIfNecessary:, OOOXZManager(NSURLConnectionDataDelegate)::manifestPath, and OOCacheManager::sharedCache.
Referenced by init, OOOXZManager(NSURLConnectionDataDelegate)::manifestPath, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests.
- (NSArray *) manifests |
Definition at line 657 of file OOOXZManager.m.
References _oxzList, and manifests.
Referenced by managedOXZs, and manifests.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 716 of file OOOXZManager.m.
References DESTROY, downloadPath, OOOXZManager(NSURLConnectionDataDelegate)::downloadPath, gui, kOOOXZErrorLog, manifestPath, nil, OOLog, OXZ_DOWNLOAD_COMPLETE, OXZ_DOWNLOAD_ERROR, OXZ_STATE_TASKDONE, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests, and setOXZList:.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::connectionDidFinishLoading:, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests.
|
implementation |
If downloadedManifest is in _dependencyStack, remove it Get downloadedManifest requires_oxp list Add entries ones to _dependencyStack If _dependencyStack has contents, update _progressStatus ...and start the download of the 'first' item in _dependencyStack ...which isn't already installed (_dependencyStack is unordered ...so 'first' isn't really defined)
...if the item in _dependencyStack is not findable (e.g. wrong ...version) then stop here.
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 747 of file OOOXZManager.m.
References count, DESTROY, OOOXZManager(NSURLConnectionDataDelegate)::downloadPath, OOOXZManager(NSURLConnectionDataDelegate)::ensureInstallPath, gui, installPath, kOOManifestAvailableVersion, kOOManifestIdentifier, kOOManifestRelationIdentifier, kOOManifestVersion, kOOOXZDebugLog, kOOOXZErrorLog, nil, OODictionaryFromFile(), OOLog, OXZ_DOWNLOAD_COMPLETE, OXZ_DOWNLOAD_ERROR, OXZ_DOWNLOAD_NONE, OXZ_STATE_DEPENDENCIES, OXZ_STATE_TASKDONE, OXZ_UNINSTALLABLE_ALREADY, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ, ResourceManager::resetManifestKnowledgeForOXZManager, setFilteredList:, and setProgressStatus:.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::connectionDidFinishLoading:, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ.
- (void) processExtractKey |
Definition at line 1622 of file OOOXZManager.m.
References _interfaceShowingOXZDetail, _interfaceState, _item, _offset, gui, OXZ_GUI_NUM_LISTROWS, OXZ_GUI_ROW_LISTSTART, OXZ_STATE_EXTRACT, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, processExtractKey, and GuiDisplayGen::selectedRow.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, and processExtractKey.
- (void) processFilterKey |
Definition at line 1532 of file OOOXZManager.m.
References _interfaceShowingOXZDetail, _interfaceState, gui, OXZ_STATE_MAIN, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, OXZ_STATE_SETFILTER, and processFilterKey.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, and processFilterKey.
- (void) processOptionsNext |
Definition at line 2108 of file OOOXZManager.m.
References _filteredList, _offset, count, OXZ_GUI_NUM_LISTROWS, processOptionsNext, and showOptionsUpdate.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, processOptionsNext, and processSelection.
- (void) processOptionsPrev |
Definition at line 2094 of file OOOXZManager.m.
References _offset, OXZ_GUI_NUM_LISTROWS, processOptionsPrev, and showOptionsUpdate.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, processOptionsPrev, and processSelection.
- (void) processSelection |
Definition at line 1352 of file OOOXZManager.m.
References _changesMade, _downloadAllDependencies, _downloadStatus, _interfaceState, _offset, _oxzList, cancelUpdate, extractOXZ:, gui, installOXZ:, kOOOXZDebugLog, nil, OOLog, OXZ_DOWNLOAD_NONE, OXZ_GUI_ROW_EXIT, OXZ_GUI_ROW_INSTALL, OXZ_GUI_ROW_INSTALLED, OXZ_GUI_ROW_LISTNEXT, OXZ_GUI_ROW_LISTPREV, OXZ_GUI_ROW_LISTSTART, OXZ_GUI_ROW_REMOVE, OXZ_GUI_ROW_UPDATE, OXZ_GUI_ROW_UPDATE_ALL, OXZ_STATE_DEPENDENCIES, OXZ_STATE_EXTRACT, OXZ_STATE_EXTRACTDONE, OXZ_STATE_INSTALLING, OXZ_STATE_MAIN, OXZ_STATE_NODATA, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, OXZ_STATE_REMOVING, OXZ_STATE_RESTARTING, OXZ_STATE_TASKDONE, OXZ_STATE_UPDATING, processOptionsNext, processOptionsPrev, processSelection, removeOXZ:, GuiDisplayGen::selectedRow, setProgressStatus:, updateAllOXZ, and updateManifests.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, processSelection, showOptionsNext, and showOptionsPrev.
- (void) processShowInfoKey |
Definition at line 1548 of file OOOXZManager.m.
References _interfaceShowingOXZDetail, _interfaceState, _item, _offset, GuiDisplayGen::addLongText:startingAtRow:align:, GuiDisplayGen::clearAndKeepBackground:, OOColor::greenColor, gui, OXZ_GUI_NUM_LISTROWS, OXZ_GUI_ROW_LISTSTART, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, processShowInfoKey, GuiDisplayGen::selectedRow, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setText:forRow:align:, GuiDisplayGen::setTitle:, and showOptionsUpdate.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, and processShowInfoKey.
- (void) processTextInput: | (NSString *) | input |
Definition at line 1502 of file OOOXZManager.m.
References _interfaceState, gui, OXZ_STATE_PICK_INSTALL, and setFilter:.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:.
- (void) refreshTextInput: | (NSString *) | input |
Definition at line 1517 of file OOOXZManager.m.
References OOColor::cyanColor, gui, OOColor::orangeColor, GuiDisplayGen::setColor:forRow:, and GuiDisplayGen::setText:forRow:align:.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1932 of file OOOXZManager.m.
References count, nil, OXZ_GUI_NUM_LISTROWS, and OOOXZManager(NSURLConnectionDataDelegate)::removeOptions.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::removeOptions, and showRemoveOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1904 of file OOOXZManager.m.
References count, DESTROY, gui, kOOOXZDebugLog, kOOOXZErrorLog, nil, OOLog, and OXZ_STATE_REMOVING.
Referenced by processSelection.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 562 of file OOOXZManager.m.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::beginDownload:, and dealloc.
|
implementation |
Definition at line 363 of file OOOXZManager.m.
References _currentFilter, and DESTROY.
Referenced by processTextInput:.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 356 of file OOOXZManager.m.
References DESTROY.
Referenced by gui, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ, showOptionsUpdate, and OOOXZManager(NSURLConnectionDataDelegate)::updateAllOXZ.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 344 of file OOOXZManager.m.
Referenced by init, and OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedManifests.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 574 of file OOOXZManager.m.
References DESTROY.
Referenced by init, OOOXZManager(NSURLConnectionDataDelegate)::installOXZ:, OOOXZManager(NSURLConnectionDataDelegate)::processDownloadedOXZ, processSelection, and updateManifests.
+ (OOOXZManager *) sharedManager |
Definition at line 186 of file OOOXZManager.m.
References nil, sharedManager, and sSingleton.
Referenced by GameController::applicationDidFinishLaunching:, PlayerEntity(OOControlsPrivate)::pollDemoControls:, ResourceManager::rootPaths, PlayerEntity::setGuiToOXZManager, and sharedManager.
- (OOGUIRow) showInstallOptions |
Definition at line 1728 of file OOOXZManager.m.
References _interfaceState, _offset, GuiDisplayGen::addLongText:startingAtRow:align:, colorForManifest:, DESC, OOColor::greenColor, gui, humanSize:, installOptions, installPath, installStatusForManifest:, kOOManifestFilePath, ResourceManager::manifestForIdentifier:, nil, OODictionaryFromFile(), OXZ_GUI_ROW_INSTALL, OXZ_GUI_ROW_LISTNEXT, OXZ_GUI_ROW_LISTPREV, OXZ_GUI_ROW_LISTSTART, OXZ_GUI_ROW_LISTSTATUS, OXZ_STATE_PICK_INSTALLED, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setTabStops:, GuiDisplayGen::setText:forRow:, GuiDisplayGen::setText:forRow:align:, and showInstallOptions.
Referenced by gui, showInstallOptions, and showOptionsUpdate.
- (void) showOptionsNext |
Definition at line 2119 of file OOOXZManager.m.
References _interfaceState, gui, OXZ_GUI_ROW_LISTNEXT, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, processSelection, and showOptionsNext.
Referenced by showOptionsNext.
- (void) showOptionsPrev |
Definition at line 2081 of file OOOXZManager.m.
References _interfaceState, gui, OXZ_GUI_ROW_LISTPREV, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, processSelection, and showOptionsPrev.
Referenced by showOptionsPrev.
- (void) showOptionsUpdate |
Definition at line 2059 of file OOOXZManager.m.
References _interfaceState, applyCurrentFilter:, managedOXZs, OXZ_STATE_PICK_INSTALL, OXZ_STATE_PICK_INSTALLED, OXZ_STATE_PICK_REMOVE, setFilteredList:, showInstallOptions, showOptionsUpdate, and showRemoveOptions.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, processOptionsNext, processOptionsPrev, processShowInfoKey, and showOptionsUpdate.
- (OOGUIRow) showRemoveOptions |
Definition at line 1954 of file OOOXZManager.m.
References _offset, GuiDisplayGen::addLongText:startingAtRow:align:, colorForManifest:, count, OOColor::greenColor, gui, installStatusForManifest:, managedOXZs, nil, OXZ_GUI_NUM_LISTROWS, OXZ_GUI_ROW_INSTALL, OXZ_GUI_ROW_LISTDESC, OXZ_GUI_ROW_LISTNEXT, OXZ_GUI_ROW_LISTPREV, OXZ_GUI_ROW_LISTSTART, removeOptions, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setTabStops:, GuiDisplayGen::setText:forRow:, GuiDisplayGen::setText:forRow:align:, and showRemoveOptions.
Referenced by gui, showOptionsUpdate, and showRemoveOptions.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 1680 of file OOOXZManager.m.
References installOXZ:, kOOManifestIdentifier, kOOOXZDebugLog, nil, OOLog, OXZ_INSTALLABLE_UPDATE, setFilteredList:, and OOOXZManager(NSURLConnectionDataDelegate)::updateAllOXZ.
Referenced by processSelection, and OOOXZManager(NSURLConnectionDataDelegate)::updateAllOXZ.
- (BOOL) updateManifests |
Definition at line 580 of file OOOXZManager.m.
References _downloadStatus, _interfaceState, beginDownload:, dataURL, OXZ_DOWNLOAD_NONE, OXZ_DOWNLOAD_STARTED, OXZ_STATE_UPDATING, setProgressStatus:, and updateManifests.
Referenced by processSelection, and updateManifests.
|
implementation |
Provided by category OOOXZManager(NSURLConnectionDataDelegate).
Definition at line 541 of file OOOXZManager.m.
References kOOOXZFilterAll, kOOOXZFilterAuthor, kOOOXZFilterCategory, kOOOXZFilterDays, kOOOXZFilterInstallable, kOOOXZFilterKeyword, kOOOXZFilterTag, and kOOOXZFilterUpdates.
|
private |
Definition at line 70 of file OOOXZManager.h.
Referenced by gui, init, isRestarting, and processSelection.
|
private |
Definition at line 72 of file OOOXZManager.h.
Referenced by cancelUpdate.
|
private |
Definition at line 73 of file OOOXZManager.h.
|
private |
Definition at line 66 of file OOOXZManager.h.
Referenced by init, and setFilter:.
|
private |
Definition at line 86 of file OOOXZManager.h.
Referenced by init.
|
private |
Definition at line 81 of file OOOXZManager.h.
Referenced by init, and processSelection.
|
private |
Definition at line 77 of file OOOXZManager.h.
|
private |
Definition at line 76 of file OOOXZManager.h.
|
private |
Definition at line 75 of file OOOXZManager.h.
Referenced by cancelUpdate, gui, init, isRestarting, processSelection, and updateManifests.
|
private |
Definition at line 78 of file OOOXZManager.h.
|
private |
Definition at line 65 of file OOOXZManager.h.
Referenced by dealloc, and processOptionsNext.
|
private |
Definition at line 69 of file OOOXZManager.h.
Referenced by init, isAcceptingGUIInput, processExtractKey, processFilterKey, and processShowInfoKey.
|
private |
Definition at line 68 of file OOOXZManager.h.
Referenced by cancelUpdate, gui, init, isAcceptingTextInput, isRestarting, processExtractKey, processFilterKey, processSelection, processShowInfoKey, processTextInput:, showInstallOptions, showOptionsNext, showOptionsPrev, showOptionsUpdate, and updateManifests.
|
private |
Definition at line 79 of file OOOXZManager.h.
Referenced by processExtractKey, and processShowInfoKey.
|
private |
Definition at line 64 of file OOOXZManager.h.
Referenced by dealloc, and managedOXZs.
|
private |
Definition at line 83 of file OOOXZManager.h.
Referenced by processExtractKey, processOptionsNext, processOptionsPrev, processSelection, processShowInfoKey, showInstallOptions, and showRemoveOptions.
|
private |
Definition at line 63 of file OOOXZManager.h.
Referenced by dealloc, gui, init, managedOXZs, manifests, and processSelection.
|
private |
Definition at line 85 of file OOOXZManager.h.