summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-10-20 19:16:48 +0200
committerYoann Lopes <yoann.lopes@nokia.com>2011-10-20 19:16:48 +0200
commitaa7e0fc2e7be5ef72935603f7ed8c19ce861395d (patch)
tree6d0c89bef9f7dc86f84d57785278acfffefe3343
parent240d8f7fe7e9e2664c4d4d8fe184574beb7c746d (diff)
Do not include the spotify_key.h in the repo.
-rw-r--r--.gitignore1
-rw-r--r--README7
-rw-r--r--libQtSpotify/spotify_key.h9
3 files changed, 7 insertions, 10 deletions
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