From aa7e0fc2e7be5ef72935603f7ed8c19ce861395d Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Thu, 20 Oct 2011 19:16:48 +0200 Subject: Do not include the spotify_key.h in the repo. --- .gitignore | 1 + README | 7 ++++++- libQtSpotify/spotify_key.h | 9 --------- 3 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 libQtSpotify/spotify_key.h diff --git a/.gitignore b/.gitignore index 1136503..e66e337 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ MeeSpot configure-stamp build-stamp debian/* +libQtSpotify/spotify_key.h # General callgrind.out.* diff --git a/README b/README index 37a412b..db84a65 100644 --- a/README +++ b/README @@ -14,11 +14,16 @@ libspotify/ You also need your own libpotify API key to be able to compile and run the program (see https://developer.spotify.com/en/libspotify/application-key/) -Just copy the provided key into libQtSpotify/spotify_key.h with this format: +Create a file spotify_key.h inside libQtSpotify and copy the provided key inside it +using the following format: + + #ifndef SPOTIFY_KEY_H + #define SPOTIFY_KEY_H const uint8_t g_appkey[] = { 0x00, 0x00, ..., ... }; const size_t g_appkey_size = sizeof(g_appkey); + #endif // SPOTIFY_KEY_H To compile the project, use the Qt SDK (version 1.1 or higher) with the Harmattan component installed from the Qt SDK maintenance tool. diff --git a/libQtSpotify/spotify_key.h b/libQtSpotify/spotify_key.h deleted file mode 100644 index 4ecdf3a..0000000 --- a/libQtSpotify/spotify_key.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef SPOTIFY_KEY_H -#define SPOTIFY_KEY_H - -#error -#error "You need to replace the content of this file with a libspotify API key provided by Spotify." -#error "Please see https://developer.spotify.com/en/libspotify/application-key/" -#error - -#endif // SPOTIFY_KEY_H -- cgit v1.2.3