From b9d2de1b213f9be8e19312a2065ca6f5998e8a7a Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 24 Apr 2004 20:03:53 +0000 Subject: [PATCH] move inline functions .cxx file --- panda/src/audio/audioSound.cxx | 20 ++++++++++++++++++++ panda/src/audio/audioSound.h | 7 ++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/panda/src/audio/audioSound.cxx b/panda/src/audio/audioSound.cxx index c6bc6ce7b5..6f7e3584a6 100644 --- a/panda/src/audio/audioSound.cxx +++ b/panda/src/audio/audioSound.cxx @@ -20,3 +20,23 @@ #include "audioSound.h" TypeHandle AudioSound::_type_handle; + +//////////////////////////////////////////////////////////////////// +// Function: AudioSound::Destructor +// Access: Published, Virtual +// Description: +//////////////////////////////////////////////////////////////////// +AudioSound:: +~AudioSound() { +} + +//////////////////////////////////////////////////////////////////// +// Function: AudioSound::Constructor +// Access: Protected +// Description: +//////////////////////////////////////////////////////////////////// +AudioSound:: +AudioSound() { + // Intentionally blank. +} + diff --git a/panda/src/audio/audioSound.h b/panda/src/audio/audioSound.h index 1251ce72a9..9df680e0a2 100644 --- a/panda/src/audio/audioSound.h +++ b/panda/src/audio/audioSound.h @@ -29,7 +29,7 @@ class AudioManager; class EXPCL_PANDA AudioSound : public TypedReferenceCount { PUBLISHED: - virtual ~AudioSound() {} + virtual ~AudioSound(); // For best compatability, set the loop_count, // volume, and balance, prior to calling play(). You may @@ -99,13 +99,10 @@ PUBLISHED: virtual SoundStatus status() const = 0; protected: - AudioSound() { - // Intentionally blank. - } + AudioSound(); friend class AudioManager; - public: static TypeHandle get_class_type() { return _type_handle;