Revert previous commit, was incorrect
[amarok.git] / src / engine_fwd.h
blobff85bc84050dabdd1bb71603c712ec73329a04cf
2 #ifndef ENGINE_FWD_H
3 #define ENGINE_FWD_H
5 /// Used by eg engineobserver.h, and thus we reduce header dependencies on enginebase.h
7 namespace Engine
9 class Base;
11 /**
12 * You should return:
13 * Playing when playing,
14 * Paused when paused
15 * Idle when you still have a URL loaded (ie you have not been told to stop())
16 * Empty when you have been told to stop(), or an error occurred and you stopped yourself
18 * It is vital to be Idle just after the track has ended!
20 enum State { Empty, Idle, Playing, Paused };
23 typedef Engine::Base EngineBase;
25 #endif