Clean up some things. Make skip vote longer. Put in js that should show notifications for skip requests.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "GroovePlayer.h"
|
||||
#include "db/AudioTrack.h"
|
||||
#include "db/User.h"
|
||||
#include <Wt/WJavaScript>
|
||||
|
||||
class WebInterface : public Wt::WApplication
|
||||
{
|
||||
@@ -42,6 +43,8 @@ public:
|
||||
private:
|
||||
struct internal;
|
||||
internal* priv_int = 0;
|
||||
std::string getNotificationJs(std::string message);
|
||||
Wt::JSlot notificationSlot;
|
||||
};
|
||||
|
||||
#endif // WEBINTERFACE_H
|
||||
|
||||
Reference in New Issue
Block a user