summaryrefslogtreecommitdiff
authorjeremy <jeremy>2002-02-15 15:47:21 (UTC)
committer jeremy <jeremy>2002-02-15 15:47:21 (UTC)
commitee2c9639827ea77d2ae33c56580fe99671dd8eab (patch) (side-by-side diff)
tree49988cfa5530b90b0c82a154f2805df3d35478d0
parente6125036c4260fb9aeb40105c1ec58777678792b (diff)
downloadopie-ee2c9639827ea77d2ae33c56580fe99671dd8eab.zip
opie-ee2c9639827ea77d2ae33c56580fe99671dd8eab.tar.gz
opie-ee2c9639827ea77d2ae33c56580fe99671dd8eab.tar.bz2
Adding support the ipaq's rec button. Not totally funtioning yet, but
getting there.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.h b/core/applets/vmemo/vmemo.h
index ee375b0..d96cd94 100644
--- a/core/applets/vmemo/vmemo.h
+++ b/core/applets/vmemo/vmemo.h
@@ -1,50 +1,54 @@
/**************************************************************************************94x78**
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
*********************************************************************************************/
/*
* $Id$
*/
#ifndef __VMEMO_H__
#define __VMEMO_H__
#include <qwidget.h>
#include <qpixmap.h>
#include <qpe/applnk.h>
#include <qfile.h>
+#include <qpe/qcopenvelope_qws.h>
class VMemo : public QWidget
{
Q_OBJECT
public:
VMemo( QWidget *parent, const char *name = NULL);
~VMemo();
QFile track;
+
public slots:
void record();
void mousePressEvent( QMouseEvent * );
void mouseReleaseEvent( QMouseEvent * );
+ void receive( const QCString &msg, const QByteArray &data );
private:
void paintEvent( QPaintEvent* );
int openDSP();
int openWAV(const char *filename);
QPixmap vmemoPixmap;
+ QCopChannel *myChannel;
bool systemZaurus;
int dsp, wav, rate, speed, channels, format, resolution;
bool recording;
};
#endif // __VMEMO_H__