ソースを参照

move inline functions .cxx file

David Rose 21 年 前
コミット
b9d2de1b21
2 ファイル変更22 行追加5 行削除
  1. 20 0
      panda/src/audio/audioSound.cxx
  2. 2 5
      panda/src/audio/audioSound.h

+ 20 - 0
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.
+}
+

+ 2 - 5
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;