2011-06-02 21:59:20 +02:00
|
|
|
// Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
|
2011-05-29 22:32:21 +02:00
|
|
|
// This file is part of the "cAudio Engine"
|
|
|
|
// For conditions of distribution and use, see copyright notice in cAudio.h
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace cAudio
|
|
|
|
{
|
|
|
|
class IThread
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual bool start() = 0;
|
|
|
|
virtual void join() = 0;
|
|
|
|
virtual void shutdown() = 0;
|
|
|
|
virtual bool isRunning() = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class IThreadWorker
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void run() = 0;
|
|
|
|
};
|
|
|
|
}
|