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

« back to all changes in this revision

Viewing changes to kmidi/midiapplication.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
   kmidi - a midi to wav converter
 
3
   
 
4
   Copyright 1997 Bernd Johannes Wuebben math.cornell.edu
 
5
  
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software
 
18
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
19
 
 
20
 
 
21
 */
 
22
 
 
23
#ifndef MIDIAPPLICATION_H
 
24
#define MIDIAPPLICATION_H
 
25
 
 
26
#include "version.h"
 
27
#include "bwlednum.h"
 
28
 
 
29
#include <qfileinfo.h>
 
30
#include <qdatastream.h> 
 
31
#include <qfile.h> 
 
32
#include <qtabdialog.h> 
 
33
#include <qfiledialog.h>
 
34
#include <qpushbutton.h>
 
35
#include <qradiobutton.h>
 
36
#include <qlabel.h>
 
37
#include <qdialog.h>
 
38
#include <qapplication.h>
 
39
#include <qpopupmenu.h>
 
40
#include <qtimer.h>
 
41
#include <qbitmap.h>
 
42
#include <qslider.h>
 
43
#include <qgroupbox.h>
 
44
#include <qcombobox.h>
 
45
#include <qscrollbar.h>
 
46
#include <qspinbox.h>
 
47
#include <qbuttongroup.h>
 
48
#include <qcheckbox.h>
 
49
#include <qtooltip.h>
 
50
#include <qregexp.h>
 
51
#include <qgroupbox.h>
 
52
#include <qwidget.h>
 
53
#include <qpainter.h>
 
54
#include <qdragobject.h>
 
55
#include <qwhatsthis.h>
 
56
 
 
57
#include <pwd.h>
 
58
#include <stdlib.h>
 
59
#include <stdio.h>
 
60
#include <string.h>
 
61
#include <sys/types.h>
 
62
#include <sys/time.h>
 
63
#include <signal.h>
 
64
#include <sys/utsname.h>
 
65
#include <unistd.h>
 
66
#include <sys/types.h>
 
67
#include <sys/stat.h>
 
68
#include <fcntl.h>
 
69
#include <sys/ioctl.h>
 
70
 
 
71
#include <kapp.h>
 
72
#include <kuniqueapp.h>
 
73
 
 
74
class MidiApplication : public KUniqueApplication
 
75
{
 
76
  Q_OBJECT 
 
77
 
 
78
public:
 
79
  
 
80
  MidiApplication();
 
81
  ~MidiApplication();
 
82
 
 
83
  virtual int newInstance();
 
84
 
 
85
  bool process(const QCString &fun, const QByteArray &data,
 
86
                        QCString &replyType, QByteArray &replyData);
 
87
 
 
88
};
 
89
 
 
90
extern MidiApplication *thisapp;
 
91
 
 
92
#endif