VitaShell/main_context.h
TheRadziu d7de7edebe Finished "Refresh LiveArea" function rework, added patches support (#515)
* Changed how content type is determined

Also added some code related to non-working (at this moment) theme promotion

* revoked code related to theme promotion

I give up, can't continue with the undocumented scePromoterUtilityPromotePkgWithRif error.

* Added PoC Patch refresh code

Note: right now it does not check if installed app_ver == patch app_ver, so it promotes ALL patches for installed titles.

* Move pfs related functions to pfs.c/pfs.h

* Reverted some unintended changes

* Cleaned up debug prints

* Cleaned up unused PFS code

* Patch refresh PoC v2

* Fixed Misplaced pfsUmount()

* Removed rest of the debug prints, feature is now fully functional
2018-11-22 08:56:12 +01:00

39 lines
1.2 KiB
C

/*
VitaShell
Copyright (C) 2015-2018, TheFloW
This program 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 Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __MAIN_CONTEXT_H__
#define __MAIN_CONTEXT_H__
#include "context_menu.h"
extern ContextMenu context_menu_home;
extern ContextMenu context_menu_main;
extern ContextMenu context_menu_sort;
extern ContextMenu context_menu_more;
void initContextMenuWidth();
void setContextMenuHomeVisibilities();
void setContextMenuMainVisibilities();
void setContextMenuSortVisibilities();
void setContextMenuBookmarksVisibilities();
void setContextMenuAdhocVisibilities();
void setContextMenuMoreVisibilities();
void setContextMenuNewVisibilities();
#endif