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

« back to all changes in this revision

Viewing changes to mpeglib/example/yaf/yafcore/commandTableYAF.cpp

  • 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
  valid Commands for yaf (basic yaf commands)
 
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
#define _USE_YAF_STRUC
 
15
 
 
16
#include "commandTableYAF.h"
 
17
 
 
18
 
 
19
CommandTableYAF::CommandTableYAF(){
 
20
  init();
 
21
}
 
22
 
 
23
CommandTableYAF::~CommandTableYAF(){
 
24
}
 
25
 
 
26
void CommandTableYAF::init() {
 
27
 
 
28
 
 
29
  int i;
 
30
  for (i=0;i<YAFCOMMANDS_SIZE;i++) {
 
31
    insert(&yafCommands[i]);
 
32
  }
 
33
           
 
34
 
 
35
}
 
36