This source file is part of the Theora Video Playback Library
For latest info, see http://libtheoraplayer.sourceforge.net/
Copyright (c) 2008-2010 Kresimir Spes (kreso@cateia.com)
This program is free software; you can redistribute it and/or modify it under
the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php

#ifndef _TheoraWorkerThread_h
#define _TheoraWorkerThread_h

#include "TheoraAsync.h"

class TheoraVideoClip;

        This is the worker thread, requests work from TheoraVideoManager
        and decodes assigned TheoraVideoClip objects

class TheoraWorkerThread : public TheoraThread
        TheoraVideoClip* mClip;

        TheoraVideoClip* getAssignedClip() { return mClip; }

    //! Main Thread Body - do not call directly!
        void executeThread();