mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-05 00:38:52 +00:00
Working stuff! :) Last steps -> Add error checking.
This commit is contained in:
@@ -67,6 +67,9 @@ void notConnectedMsg(void);
|
||||
*/
|
||||
void notImplemented(void);
|
||||
|
||||
// Display the done msg.
|
||||
void doneMsg(void);
|
||||
|
||||
/**
|
||||
* Get info from the GitHub API about a Release.
|
||||
* repo is where to get from. (Ex. "RocketRobz/TWiLightMenu")
|
||||
@@ -100,7 +103,10 @@ std::string getLatestCommit(std::string repo, std::string array, std::string ite
|
||||
*/
|
||||
std::vector<ThemeEntry> getThemeList(std::string repo, std::string path);
|
||||
|
||||
/**
|
||||
* Update nds-bootstrap to the latest build.
|
||||
*/
|
||||
void updateBootstrap(bool nightly);
|
||||
namespace download {
|
||||
void downloadRelease(std::string repo, std::string file, std::string output, std::string message);
|
||||
void downloadFile(std::string file, std::string output, std::string message);
|
||||
void deleteFileList(std::string file, std::string message);
|
||||
void installFileList(std::string file, std::string message);
|
||||
void extractFileList(std::string file, std::string input, std::string output, std::string message);
|
||||
}
|
||||
@@ -37,15 +37,23 @@ public:
|
||||
void Draw(void) const override;
|
||||
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
|
||||
ScriptList();
|
||||
void showParsedObjects(void) const;
|
||||
|
||||
private:
|
||||
void DrawList(void) const;
|
||||
void DrawSingleObject(void) const;
|
||||
|
||||
void ListSelection(u32 hDown, u32 hHeld);
|
||||
void SelectFunction(u32 hDown, u32 hHeld);
|
||||
|
||||
int mode = 0;
|
||||
std::vector<DirEntry> dirContents;
|
||||
mutable int screenPos = 0;
|
||||
mutable int selection = 0;
|
||||
mutable int screenPos2 = 0;
|
||||
mutable int selection2 = 0;
|
||||
|
||||
int keyRepeatDelay = 0;
|
||||
int fastMode = false;
|
||||
bool dirChanged = true;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user