Child: [8dca2e] (diff)

Download this file

mpd.h    30 lines (23 with data), 419 Bytes

 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
#ifndef _MPD_H
#define _MPD_H
class CMPD
{
public:
CMPD();
~CMPD();
bool Connect();
void Update();
void SetSong(mpd_Song* song);
void CheckSubmit();
inline bool isConnected() { return _connected; }
private:
static void StatusChanged(MpdObj*, ChangedStatusType);
MpdObj* _obj;
mpd_Song* _song;
int _start;
time_t _starttime;
bool _connected;
bool _cached;
};
extern CMPD* MPD;
#endif