-rw-r--r-- | libopie2/opiemm/opiemm.pro | 2 | ||||
-rw-r--r-- | libopie2/opiemm/osoundsystem.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiemm/osoundsystem.h | 17 |
3 files changed, 20 insertions, 1 deletions
diff --git a/libopie2/opiemm/opiemm.pro b/libopie2/opiemm/opiemm.pro index d6f54ee..ce30dfb 100644 --- a/libopie2/opiemm/opiemm.pro +++ b/libopie2/opiemm/opiemm.pro @@ -4,9 +4,9 @@ DESTDIR = $(OPIEDIR)/lib HEADERS = osoundsystem.h SOURCES = osoundsystem.cpp INTERFACES = TARGET = opiemm2 -VERSION = 1.8.2 +VERSION = 1.9.0 INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include !contains( platform, x11 ) { diff --git a/libopie2/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp index 51e088c..07f26c0 100644 --- a/libopie2/opiemm/osoundsystem.cpp +++ b/libopie2/opiemm/osoundsystem.cpp @@ -40,8 +40,10 @@ #include <sys/soundcard.h> #include <sys/stat.h> +using namespace Opie::Core; +using namespace Opie::MM; /*====================================================================================== * OSoundSystem *======================================================================================*/ diff --git a/libopie2/opiemm/osoundsystem.h b/libopie2/opiemm/osoundsystem.h index 096d397..3c3b622 100644 --- a/libopie2/opiemm/osoundsystem.h +++ b/libopie2/opiemm/osoundsystem.h @@ -35,8 +35,11 @@ #include <qobject.h> #include <qdict.h> #include <qmap.h> +namespace Opie { +namespace MM { + class OAudioInterface; class OMixerInterface; class OSoundCard; @@ -89,8 +92,10 @@ class OSoundSystem : public QObject private: static OSoundSystem* _instance; CardMap _interfaces; + class Private; + Private *d; }; /*====================================================================================== @@ -123,8 +128,11 @@ class OSoundCard : public QObject OMixerInterface* _mixer; private: void init(); + private: + class Private; + Private *d; }; /*====================================================================================== * OAudioInterface @@ -149,8 +157,11 @@ class OAudioInterface : public QObject const int _sfd; private: void init(); + private: + class Private; + Private *d; }; /*====================================================================================== @@ -209,8 +220,14 @@ class OMixerInterface : public QObject QMap<QString, int> _channels; private: void init(); + private: + class Private; + Private *d; }; +} +} + #endif // OSOUNDSYSTEM_H |