Skip to content

Commit 75152fe

Browse files
author
Qt Continuous Integration System
committed
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Add header guards to audio example headers.
2 parents f4a7f53 + 09bf0e5 commit 75152fe

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

examples/multimedia/audiodevices/audiodevices.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
**
4040
****************************************************************************/
4141

42+
#ifndef AUDIODEVICES_H
43+
#define AUDIODEVICES_H
4244

4345
#include <QObject>
4446
#include <QMainWindow>
@@ -78,3 +80,5 @@ private slots:
7880

7981
};
8082

83+
#endif
84+

examples/multimedia/audioinput/audioinput.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
**
4040
****************************************************************************/
4141

42+
#ifndef AUDIOINPUT_H
43+
#define AUDIOINPUT_H
44+
4245
#include <QPixmap>
4346
#include <QWidget>
4447
#include <QObject>
@@ -133,3 +136,5 @@ private slots:
133136
static const QString ResumeLabel;
134137
};
135138

139+
#endif
140+

examples/multimedia/audiooutput/audiooutput.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
**
4040
****************************************************************************/
4141

42+
#ifndef AUDIOOUTPUT_H
43+
#define AUDIOOUTPUT_H
44+
4245
#include <math.h>
4346

4447
#include <QObject>
@@ -116,3 +119,5 @@ private slots:
116119
void deviceChanged(int index);
117120
};
118121

122+
#endif
123+

0 commit comments

Comments
 (0)