14 lines
332 B
Plaintext
14 lines
332 B
Plaintext
package org.musicpd;
|
|
import org.musicpd.IMainCallback;
|
|
|
|
interface IMain
|
|
{
|
|
void start();
|
|
void stop();
|
|
void setPauseOnHeadphonesDisconnect(boolean enabled);
|
|
void setWakelockEnabled(boolean enabled);
|
|
boolean isRunning();
|
|
void registerCallback(IMainCallback cb);
|
|
void unregisterCallback(IMainCallback cb);
|
|
}
|