Switch to unified view
a/src/ohsndrcv.hxx | b/src/ohsndrcv.hxx | ||
---|---|---|---|
... |
... |
||
46 | class SenderReceiver { |
46 | class SenderReceiver { |
47 | public: |
47 | public: |
48 | SenderReceiver(UpMpd *dev, const std::string& senderstarterpath, |
48 | SenderReceiver(UpMpd *dev, const std::string& senderstarterpath, |
49 | int mpdport); |
49 | int mpdport); |
50 | ~SenderReceiver(); |
50 | ~SenderReceiver(); |
51 | bool start(bool useradio, int seekms); |
51 | |
52 | // script can be empty when using an internal source (radio or |
||
53 | // playlist) or be a path to an external script for an extern |
||
54 | // analog source |
||
55 | bool start(const std::string& script, int seekms = 0); |
||
52 | bool stop(); |
56 | bool stop(); |
53 | 57 | ||
54 | class Internal; |
58 | class Internal; |
55 | private: |
59 | private: |
56 | Internal *m; |
60 | Internal *m; |
57 | }; |
61 | }; |
58 | 62 | ||
59 | |||
60 | #endif /* _OHSNDRCV_H_X_INCLUDED_ */ |
63 | #endif /* _OHSNDRCV_H_X_INCLUDED_ */ |