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

« back to all changes in this revision

Viewing changes to mpeglib/example/yaf/yafcore/outputDecoder.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
  Default output decoder
 
3
  Copyright (C) 1998  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
#ifndef __OUTPUTDECODER_H
 
16
#define __OUTPUTDECODER_H
 
17
 
 
18
#include "commandLine.h"
 
19
 
 
20
#include "runtimeTableYAF.h"
 
21
#include "commandTableYAF.h"
 
22
 
 
23
 
 
24
class OutputDecoder  {
 
25
 
 
26
 public:
 
27
  OutputDecoder();
 
28
  virtual ~OutputDecoder();
 
29
 
 
30
  void processCommandLine(CommandLine*);
 
31
  virtual int processRuntimeCommand(int command,const char* args);
 
32
  virtual int processReturnCommand(int cmdNr,int cmdId,
 
33
                                   const char* ret,const char* args);
 
34
 
 
35
  void appendCommandTable(CommandTable* table);
 
36
  void appendRuntimeTable(CommandTable* table);
 
37
 
 
38
  CommandTable* getRuntimeTable();
 
39
  CommandTable* getCommandTable();
 
40
 
 
41
 private:
 
42
  CommandTable* yafCommands;
 
43
  CommandTable* yafRuntime;
 
44
 
 
45
  CommandTable commandTable;
 
46
  CommandTable runtimeTable;
 
47
 
 
48
 
 
49
};
 
50
 
 
51
 
 
52
#endif