implemented some file handling related functionality
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17211 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,34 +24,33 @@
|
||||
#include <MediaNode.h>
|
||||
|
||||
class VideoView;
|
||||
class VideoNode;
|
||||
|
||||
class Controller
|
||||
{
|
||||
public:
|
||||
Controller();
|
||||
virtual ~Controller();
|
||||
|
||||
status_t SetTo(const entry_ref &ref);
|
||||
|
||||
void SetVideoView(VideoView *view);
|
||||
void SetVideoNode(VideoNode *node);
|
||||
|
||||
bool IsOverlayActive();
|
||||
|
||||
void LockBitmap();
|
||||
void UnlockBitmap();
|
||||
BBitmap * Bitmap();
|
||||
|
||||
void VolumeUp();
|
||||
void VolumeDown();
|
||||
|
||||
int VideoTrackCount();
|
||||
int AudioTrackCount();
|
||||
|
||||
private:
|
||||
status_t ConnectNodes();
|
||||
status_t DisconnectNodes();
|
||||
|
||||
private:
|
||||
int fCurrentInterface;
|
||||
int fCurrentChannel;
|
||||
VideoView * fVideoView;
|
||||
VideoNode * fVideoNode;
|
||||
BParameterWeb * fWeb;
|
||||
BDiscreteParameter * fChannelParam;
|
||||
bool fConnected;
|
||||
media_input fInput;
|
||||
media_output fOutput;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user