Changeset 20873
- Timestamp:
- 09/26/07 15:10:05 (1 year ago)
- Files:
-
- juggler/trunk/modules/vrjuggler/vrj/Sound/Makefile.in (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/vrj/Sound/SoundManager.cpp (added)
- juggler/trunk/modules/vrjuggler/vrj/Sound/SoundManager.h (modified) (6 diffs)
- juggler/trunk/vc7/VRJuggler/VRJuggler.vcproj (modified) (1 diff)
- juggler/trunk/vc8/VRJuggler/VRJuggler.vcproj (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vrjuggler/vrj/Sound/Makefile.in
r19729 r20873 45 45 DIRPRFX= vrj/Sound/ 46 46 47 SRCS= SoundManagerFactory.cpp \ 47 SRCS= SoundManager.cpp \ 48 SoundManagerFactory.cpp \ 48 49 SoundManagerSonix.cpp 49 50 juggler/trunk/modules/vrjuggler/vrj/Sound/SoundManager.h
r20872 r20873 32 32 #include <jccl/RTRC/ConfigElementHandler.h> 33 33 34 #include <boost/concept_check.hpp>35 34 36 35 namespace vrj … … 40 39 * VR Juggler sound manager. 41 40 */ 42 class SoundManager : public jccl::ConfigElementHandler41 class VJ_CLASS_API SoundManager : public jccl::ConfigElementHandler 43 42 { 43 protected: 44 SoundManager(); 45 44 46 public: 47 virtual ~SoundManager(); 48 45 49 /** 46 50 * Adds the element to the configuration. 47 51 * @pre configCanHandle(element) == true 48 52 */ 49 virtual bool configAdd(jccl::ConfigElementPtr element) 50 { 51 boost::ignore_unused_variable_warning(element); 52 return false; 53 } 53 virtual bool configAdd(jccl::ConfigElementPtr element); 54 54 55 55 /** … … 57 57 * @pre configCanHandle(element) == true 58 58 */ 59 virtual bool configRemove(jccl::ConfigElementPtr element) 60 { 61 boost::ignore_unused_variable_warning(element); 62 return false; 63 } 59 virtual bool configRemove(jccl::ConfigElementPtr element); 64 60 65 61 /** … … 67 63 * @return true if we can handle the element; false if not. 68 64 */ 69 virtual bool configCanHandle(jccl::ConfigElementPtr element) 70 { 71 boost::ignore_unused_variable_warning(element); 72 return false; 73 } 65 virtual bool configCanHandle(jccl::ConfigElementPtr element); 74 66 75 public:76 67 /** Enables a frame to be drawn. */ 77 virtual void update() {}68 virtual void update(); 78 69 79 70 /** … … 81 72 * @post The frame has been rendered. 82 73 */ 83 virtual void sync() {}74 virtual void sync(); 84 75 85 76 /** … … 88 79 * @since 2.3.15 89 80 */ 90 v irtual void closeAPI() {}81 void closeAPI(); 91 82 }; 92 83 } // end namespace juggler/trunk/vc7/VRJuggler/VRJuggler.vcproj
r20832 r20873 234 234 </File> 235 235 <File 236 RelativePath="..\..\modules\vrjuggler\vrj\Sound\SoundManager.cpp"> 237 </File> 238 <File 236 239 RelativePath="..\..\modules\vrjuggler\vrj\Sound\SoundManagerFactory.cpp"> 237 240 </File> juggler/trunk/vc8/VRJuggler/VRJuggler.vcproj
r20832 r20873 613 613 </File> 614 614 <File 615 RelativePath="..\..\modules\vrjuggler\vrj\Sound\SoundManager.cpp" 616 > 617 </File> 618 <File 615 619 RelativePath="..\..\modules\vrjuggler\vrj\Sound\SoundManagerFactory.cpp" 616 620 >
