Skip to content

Commit

Permalink
Added error during compilation if client ID is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertKrajewski committed Feb 26, 2015
1 parent 5deb45b commit d3fbb43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions clientId.h
@@ -1,10 +1,14 @@
#ifndef CLIENTID_H
#define CLIENTID_H

#endif // CLIENTID_H

// Achtung: Hier muss eine gültige ClientID für den Zugriff
// auf die API eingetragen werden.
// Eine Veröffentlichung ist ID ist seitens des
// Rechenzentrums untersagt.
#define CLIENTID "INSERTIDHERE"
#define CLIENTID "INSERT YOUR CLIENT ID HERE"

// Remove this line after insertion of the client ID
#error ERROR: NO CLIENTID IN CLIENTID.H DEFINED

#endif // CLIENTID_H

0 comments on commit d3fbb43

Please sign in to comment.