~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to mpeglib/example/yaf/yafxplayer/inputDecoderYAF.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  base Implementation of a yaf decoder
 
3
  Copyright (C) 1999  Martin Vogt
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify
 
6
  it under the terms of the GNU Library General Public License as published by
 
7
  the Free Software Foundation.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
 
 
14
 
 
15
 
 
16
#ifndef __INPUTDECODERYAF_H
 
17
#define __INPUTDECODERYAF_H
 
18
 
 
19
#include <pthread.h>
 
20
 
 
21
#include "inputDecoderXPlayer.h"
 
22
#include "yafOutputStream.h"
 
23
 
 
24
 
 
25
 
 
26
class InputDecoderYAF : public InputDecoderXPlayer {
 
27
 
 
28
  DecoderPlugin* plugin;
 
29
  YafOutputStream* output;
 
30
  InputStream* input;
 
31
  int lAutoPlay;
 
32
 
 
33
 public:
 
34
  InputDecoderYAF(DecoderPlugin* plugin,YafOutputStream* output);
 
35
  ~InputDecoderYAF();
 
36
 
 
37
  const char* processCommand(int command,const char* args);
 
38
  void doSomething();
 
39
  
 
40
  int getAutoPlay();
 
41
  void setAutoPlay(int lAutoPlay);
 
42
 
 
43
 private:
 
44
 
 
45
  int lFileSelected;
 
46
  Buffer* songPath;
 
47
};
 
48
 
 
49
 
 
50
#endif
 
51