-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Uses a different dir for NONGs on Android - Makes the dir if it doesn't already exist - Update `setSong` to be Android friendly - Uncomment android build commands for actions - (OBSELETE/REDACTED) Update `.clang-format` for better code readability - (OBSELETE/REDACTED) Format ALL `cpp/hpp` files based on new `.clang-format`
- Loading branch information
1 parent
baea0aa
commit 89297c1
Showing
21 changed files
with
178 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
#pragma once | ||
|
||
#include "../includes/geode.hpp" | ||
|
||
class ANYTSong; | ||
class ANHostSong; | ||
|
||
class ANSong { | ||
public: | ||
ANSong(const std::string &name, const std::string &artist, const std::string &index) | ||
: m_name(name), m_artist(artist), m_index(index) {} | ||
std::string m_name; | ||
std::string m_artist; | ||
std::string m_index; | ||
ANSong(str name, str artist, str index) : m_name(name), m_artist(artist), m_index(index) {} | ||
String m_name; | ||
String m_artist; | ||
String m_index; | ||
virtual ~ANSong() {} | ||
std::string getSource(); | ||
String getSource(); | ||
}; | ||
|
||
class ANYTSong : public ANSong { | ||
public: | ||
ANYTSong(const std::string &name, const std::string &artist, const std::string &index, | ||
const std::string &yt_id) | ||
ANYTSong(str name, str artist, str index, str yt_id) | ||
: ANSong(name, artist, index), m_ytId(yt_id) {} | ||
std::string m_ytId; | ||
String m_ytId; | ||
}; | ||
|
||
class ANHostSong : public ANSong { | ||
public: | ||
ANHostSong(const std::string &name, const std::string &artist, const std::string &index, | ||
const std::string &url) | ||
: ANSong(name, artist, index), m_url(url) {} | ||
std::string m_url; | ||
ANHostSong(str name, str artist, str index, str url) : ANSong(name, artist, index), m_url(url) {} | ||
String m_url; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.