moved pause/unpause to .cpp file

This commit is contained in:
Pavol Marko 2004-04-22 07:47:55 +00:00
parent f51ca46646
commit c2784feb71

View File

@ -85,8 +85,8 @@ public:
inline bool isPaused() const { return ( (status == ps_paused) || (status == ps_stopped)); } inline bool isPaused() const { return ( (status == ps_paused) || (status == ps_stopped)); }
inline bool isFunctionPaused( int id ) const { return (paused_fun & (1<<id)) ? true : false; } inline bool isFunctionPaused( int id ) const { return (paused_fun & (1<<id)) ? true : false; }
inline bool isExecutable(int id) const { return (isValid() && !isPaused() && !isFunctionPaused(id)); } inline bool isExecutable(int id) const { return (isValid() && !isPaused() && !isFunctionPaused(id)); }
inline void pausePlugin( ) { if ( isValid() ) setStatus(ps_paused); } void pausePlugin();
inline void unpausePlugin( ) { if ( isValid() ) setStatus(ps_running); } void unpausePlugin();
void pauseFunction( int id ); void pauseFunction( int id );
void unpauseFunction( int id ); void unpauseFunction( int id );
void setStatus( int a ); void setStatus( int a );