summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-10-08 05:37:05 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2010-10-08 05:41:08 (GMT)
commit09bf0e548a5542ac594e5d44639cb0aeaecdf661 (patch)
treed47f5385d06934ffea072a755cfec8ff317f651d /examples
parent46822d7091ef05e64e363e7209ea3e613e4d386d (diff)
downloadQt-09bf0e548a5542ac594e5d44639cb0aeaecdf661.zip
Qt-09bf0e548a5542ac594e5d44639cb0aeaecdf661.tar.gz
Qt-09bf0e548a5542ac594e5d44639cb0aeaecdf661.tar.bz2
Add header guards to audio example headers.
Task-number: QTBUG-13413 Reviewed-by: Andrew den Exter
Diffstat (limited to 'examples')
-rw-r--r--examples/multimedia/audiodevices/audiodevices.h4
-rw-r--r--examples/multimedia/audioinput/audioinput.h5
-rw-r--r--examples/multimedia/audiooutput/audiooutput.h5
3 files changed, 14 insertions, 0 deletions
diff --git a/examples/multimedia/audiodevices/audiodevices.h b/examples/multimedia/audiodevices/audiodevices.h
index b5b5204..d448a41 100644
--- a/examples/multimedia/audiodevices/audiodevices.h
+++ b/examples/multimedia/audiodevices/audiodevices.h
@@ -39,6 +39,8 @@
**
****************************************************************************/
+#ifndef AUDIODEVICES_H
+#define AUDIODEVICES_H
#include <QObject>
#include <QMainWindow>
@@ -78,3 +80,5 @@ private slots:
};
+#endif
+
diff --git a/examples/multimedia/audioinput/audioinput.h b/examples/multimedia/audioinput/audioinput.h
index be721de..bc3d702 100644
--- a/examples/multimedia/audioinput/audioinput.h
+++ b/examples/multimedia/audioinput/audioinput.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef AUDIOINPUT_H
+#define AUDIOINPUT_H
+
#include <QPixmap>
#include <QWidget>
#include <QObject>
@@ -133,3 +136,5 @@ private:
static const QString ResumeLabel;
};
+#endif
+
diff --git a/examples/multimedia/audiooutput/audiooutput.h b/examples/multimedia/audiooutput/audiooutput.h
index 889482b..bfcbf62 100644
--- a/examples/multimedia/audiooutput/audiooutput.h
+++ b/examples/multimedia/audiooutput/audiooutput.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef AUDIOOUTPUT_H
+#define AUDIOOUTPUT_H
+
#include <math.h>
#include <QObject>
@@ -116,3 +119,5 @@ private slots:
void deviceChanged(int index);
};
+#endif
+