~ubuntu-branches/ubuntu/natty/gst123/natty

« back to all changes in this revision

Viewing changes to src/terminal.h

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy), Rogério Brito
  • Date: 2010-05-29 11:23:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100529112351-z1ffbyinvriludew
Tags: 0.1.0-1
* New upstream release.
* debian/control:
  + Added good & base plugins to Depends
  + Added ffmpeg, ugly & bad plugins to Recommends
  + Added libgtk2.0-dev, libgstreamer-plugins-base0.10-dev to Build-Deps
* debian/copyright:
  + Updated copyrights
  + Updated my email address

[ Rogério Brito ]
* Include a missing comma in the depends field

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <vector>
25
25
#include <string>
26
26
#include <map>
27
 
 
28
 
class KeyHandler
29
 
{
30
 
public:
31
 
  virtual void process_input (int ch) = 0;
32
 
};
 
27
#include "keyhandler.h"
33
28
 
34
29
class Terminal
35
30
{
48
43
  void init_terminal();
49
44
 
50
45
public:
51
 
  enum {
52
 
    TERMINAL_KEY_UP = 300,
53
 
    TERMINAL_KEY_LEFT,
54
 
    TERMINAL_KEY_RIGHT,
55
 
    TERMINAL_KEY_DOWN,
56
 
    TERMINAL_KEY_PAGE_UP,
57
 
    TERMINAL_KEY_PAGE_DOWN
58
 
  };
59
 
 
60
46
  void init (GMainLoop *loop, KeyHandler *key_handler);
61
47
  void end();
62
48
};