blob: de8d86b6212ec6f75cfef1c862d49934b020095a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef CONTROLLER_H
#define CONTROLLER_H
class MP3Controller {
public:
virtual void nextFile() = 0;
virtual void previousFile() = 0;
virtual void nextSection() = 0;
virtual void previousSection() = 0;
};
class Controller {
String root = "/";
MP3Controller *mp3Controller;
public:
Controller(MP3Controller*);
void next();
void nextS();
void previous();
void previousS();
void setRoot(String);
String getRoot();
String getAPSSID() { return "ESP8266"; }
String getAPPassword() { return "test1234"; }
};
#endif
|