diff --git a/src/kits/media/Buffer.cpp b/src/kits/media/Buffer.cpp index fe957960e3..5ca5c07b34 100644 --- a/src/kits/media/Buffer.cpp +++ b/src/kits/media/Buffer.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: Buffer.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include "SharedBufferList.h" diff --git a/src/kits/media/BufferConsumer.cpp b/src/kits/media/BufferConsumer.cpp index 2b31b734e8..2a641808d5 100644 --- a/src/kits/media/BufferConsumer.cpp +++ b/src/kits/media/BufferConsumer.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: BufferConsumer.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/BufferGroup.cpp b/src/kits/media/BufferGroup.cpp index 995e414a66..d1aea25683 100644 --- a/src/kits/media/BufferGroup.cpp +++ b/src/kits/media/BufferGroup.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: BufferGroup.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include "debug.h" diff --git a/src/kits/media/BufferProducer.cpp b/src/kits/media/BufferProducer.cpp index 11595eacad..bc71085930 100644 --- a/src/kits/media/BufferProducer.cpp +++ b/src/kits/media/BufferProducer.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: BufferProducer.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/ChannelMixer.cpp b/src/kits/media/ChannelMixer.cpp index ca381cc311..262f041b45 100644 --- a/src/kits/media/ChannelMixer.cpp +++ b/src/kits/media/ChannelMixer.cpp @@ -1,9 +1,38 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: ChannelMixer.cpp - * DESCR: Converts mono into stereo, stereo into mono - * (multiple channel support should be added in the future) - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + +/* Converts mono into stereo, stereo into mono + * (multiple channel support should be added in the future) + */ #include #include diff --git a/src/kits/media/Controllable.cpp b/src/kits/media/Controllable.cpp index fdb2e0bea0..c6ac5fc0df 100644 --- a/src/kits/media/Controllable.cpp +++ b/src/kits/media/Controllable.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: Controllable.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/DormantNodeManager.cpp b/src/kits/media/DormantNodeManager.cpp index 3fc32fe409..6b06fb2602 100644 --- a/src/kits/media/DormantNodeManager.cpp +++ b/src/kits/media/DormantNodeManager.cpp @@ -1,8 +1,35 @@ -/* - * Copyright 2002, Marcus Overhagen. All rights reserved. - * Distributed under the terms of the MIT License. +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * */ +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + /* This is a management class for dormant media nodes. * It is private to the media kit and only accessed by the BMediaRoster class * and the media_addon_server. diff --git a/src/kits/media/MediaAddOn.cpp b/src/kits/media/MediaAddOn.cpp index 224bcc9e78..e69cd1f7d2 100644 --- a/src/kits/media/MediaAddOn.cpp +++ b/src/kits/media/MediaAddOn.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: MediaAddOn.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/MediaEventLooper.cpp b/src/kits/media/MediaEventLooper.cpp index 2f761dd06f..f8c8735c9f 100644 --- a/src/kits/media/MediaEventLooper.cpp +++ b/src/kits/media/MediaEventLooper.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: MediaEventLooper.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/MediaNode.cpp b/src/kits/media/MediaNode.cpp index fe1151325a..d16b077b9f 100644 --- a/src/kits/media/MediaNode.cpp +++ b/src/kits/media/MediaNode.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: MediaNode.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/MediaRoster.cpp b/src/kits/media/MediaRoster.cpp index dd4a62f209..6b5a46bbba 100644 --- a/src/kits/media/MediaRoster.cpp +++ b/src/kits/media/MediaRoster.cpp @@ -1,8 +1,35 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: MediaRoster.cpp - * DESCR: - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/kits/media/Notifications.cpp b/src/kits/media/Notifications.cpp index 18cebb2a44..35b60c0df4 100644 --- a/src/kits/media/Notifications.cpp +++ b/src/kits/media/Notifications.cpp @@ -1,7 +1,35 @@ -/* - * Copyright 2002, Marcus Overhagen. All rights reserved. - * Distributed under the terms of the MIT License. +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + /* This is a interface class for media kit notifications. * It is private to the media kit which uses it to pass * notifications up to the media_server which will broadcast diff --git a/src/kits/media/TimedEventQueuePrivate.cpp b/src/kits/media/TimedEventQueuePrivate.cpp index 5124c3a2bc..f6cc9e4e4a 100644 --- a/src/kits/media/TimedEventQueuePrivate.cpp +++ b/src/kits/media/TimedEventQueuePrivate.cpp @@ -1,12 +1,37 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: TimedEventQueuePrivate.cpp - * DESCR: implements _event_queue_imp used by BTimedEventQueue, - * not thread save! - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ -#undef DEBUG -#define DEBUG 1 +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + +/* Implements _event_queue_imp used by BTimedEventQueue, not thread save! + */ #include #include #include diff --git a/src/kits/media/TrackReader.cpp b/src/kits/media/TrackReader.cpp index cbde8d9381..a50c29e9e9 100644 --- a/src/kits/media/TrackReader.cpp +++ b/src/kits/media/TrackReader.cpp @@ -1,9 +1,39 @@ -/*********************************************************************** - * AUTHOR: Marcus Overhagen - * FILE: TrackReader.cpp - * DESCR: The undocumented BTrackReader class, - * used by BSound and the GameSound classes - ***********************************************************************/ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + +/* + * The undocumented BTrackReader class, + * used by BSound and the GameSound classes + */ #include #include diff --git a/src/servers/media/AppManager.cpp b/src/servers/media/AppManager.cpp index aadaeefc6f..5c43c3c5f3 100644 --- a/src/servers/media/AppManager.cpp +++ b/src/servers/media/AppManager.cpp @@ -1,8 +1,35 @@ -/* - * Copyright 2002, Marcus Overhagen. All rights reserved. - * Distributed under the terms of the MIT License. +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * */ - + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/servers/media/NodeManager.cpp b/src/servers/media/NodeManager.cpp index b874cf28af..8d8673e39d 100644 --- a/src/servers/media/NodeManager.cpp +++ b/src/servers/media/NodeManager.cpp @@ -1,7 +1,35 @@ -/* - * Copyright 2002, Marcus Overhagen. All rights reserved. - * Distributed under the terms of the MIT License. +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/servers/media/NotificationManager.cpp b/src/servers/media/NotificationManager.cpp index fab41cc7be..43fb6d32d2 100644 --- a/src/servers/media/NotificationManager.cpp +++ b/src/servers/media/NotificationManager.cpp @@ -1,7 +1,35 @@ -/* - * Copyright 2002, Marcus Overhagen. All rights reserved. - * Distributed under the terms of the MIT License. +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include diff --git a/src/servers/media/media_server.cpp b/src/servers/media/media_server.cpp index 32f6500aa5..e6fb0881da 100644 --- a/src/servers/media/media_server.cpp +++ b/src/servers/media/media_server.cpp @@ -1,3 +1,35 @@ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #include #include #include @@ -19,16 +51,6 @@ * * An implementation of a new media_server for the OpenBeOS MediaKit * Started by Marcus Overhagen on 2001-10-25 - * - * Communication with the OpenBeOS libmedia.so is done using BMessages - * sent to the server application, handled in XXX() - * functions. A simple BMessage reply is beeing send back. - * - * - * function names and class structure is loosely - * based on information acquired using: - * nm --demangle /boot/beos/system/servers/media_server | grep Server | sort - * nm --demangle /boot/beos/system/servers/media_server | grep Manager | sort * */ @@ -568,59 +590,3 @@ int main() delete be_app; return 0; } - - -/* -0001e260 T MBufferManager::MBufferManager(void) -0001e47c T MBufferManager::~MBufferManager(void) -0001e540 T MBufferManager::PrintToStream(void) -0001e6fc T MBufferManager::RecycleBuffersWithOwner(long, long) -0001ea00 T MBufferManager::RegisterBuffer(long, buffer_clone_info const *, long *, media_source const &) -0001f090 T MBufferManager::AcquireBuffer(long, long, media_source) -0001f28c T MBufferManager::ReleaseBuffer(long, long, bool, BMessage *, char const *) -0001fd0c T MBufferManager::PurgeTeamBufferGroups(long) -0001fdf0 T MBufferManager::RegisterBufferGroup(BMessage *, char const *, long) -0002007c T MBufferManager::_RemoveGroupFromClaimants(long, long, void *) -00020158 T MBufferManager::UnregisterBufferGroup(BMessage *, char const *, long) -0002028c T MBufferManager::_UnregisterBufferGroup(long, long) -000206f4 T MBufferManager::AddBuffersTo(BMessage *, char const *) -00020cd0 T MBufferManager::ReclaimBuffers(long const *, long, long, long) -00020f7c T MBufferManager::CleanupPurgedBufferGroup(long, long, long, void *, bool, BMessage &) -00021080 T MBufferManager::LoadState(void) -0002108c T MBufferManager::SaveState(void) - -000210a0 T MDefaultManager::MDefaultManager(void) -0002123c T MDefaultManager::~MDefaultManager(void) -000212f4 T MDefaultManager::SaveState(void) -0002172c T MDefaultManager::LoadState(void) -00021de0 T MDefaultManager::SetDefault(long, BMessage &) -00022058 T MDefaultManager::SetRunningDefault(long, media_node const &) -000221a8 T MDefaultManager::RemoveRunningDefault(media_node const &) -000226ec T MDefaultManager::SetRealtimeFlags(unsigned long) -00022720 T MDefaultManager::GetRealtimeFlags(void) -00022730 T MDefaultManager::GetRunningDefault(long, media_node &) -000227d0 T MDefaultManager::RemoveDefault(long) -00022830 T MDefaultManager::GetDefault(long, BMessage &) -00022890 T MNotifierManager::MNotifierManager(void) -00022a5c T MNotifierManager::~MNotifierManager(void) -00022b20 T MNotifierManager::RegisterNotifier(long, BMessenger, media_node const *) -00022f50 T MNotifierManager::UnregisterNotifier(long, BMessenger, media_node const *) -00023f00 T MNotifierManager::BroadcastMessage(BMessage *, long long) -0002426c T MNotifierManager::regen_node_list(media_node const &) -000249b4 T MNotifierManager::get_node_messenger(media_node const &, get_messenger_a *) -00024a90 T MNotifierManager::HandleBroadcastError(BMessage *, BMessenger &, long, long long) -00024b34 T MNotifierManager::LoadState(void) -00024b40 T MNotifierManager::SaveState(void) -00024c5c T MMediaFilesManager::MMediaFilesManager(void) -00024dec T MMediaFilesManager::~MMediaFilesManager(void) -00024ea4 T MMediaFilesManager::SaveState(void) -00025b70 T MMediaFilesManager::LoadState(void) -00026668 T MMediaFilesManager::create_default_settings(void) -00027130 T MMediaFilesManager::GetTypes(BMessage &, BMessage &) -000271f8 T MMediaFilesManager::GetItems(BMessage &, BMessage &) -000274f0 T MMediaFilesManager::SetItem(BMessage &, BMessage &) -00027bc0 T MMediaFilesManager::ClearItem(BMessage &, BMessage &) -000288f4 T MMediaFilesManager::RemoveItem(BMessage &, BMessage &) -00028f0c T MMediaFilesManager::AddType(BMessage &, BMessage &) -*/ - diff --git a/src/servers/media_addon/main.cpp b/src/servers/media_addon/main.cpp index 4349e76361..fe453a97ee 100644 --- a/src/servers/media_addon/main.cpp +++ b/src/servers/media_addon/main.cpp @@ -1,3 +1,35 @@ +/* + * Copyright (c) 2002, 2003 Marcus Overhagen + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files or portions + * thereof (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject + * to the following conditions: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright notice + * in the binary, as well as this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with + * the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +/* to comply with the license above, do not remove the following line */ +static char __copyright[] = "Copyright (c) 2002, 2003 Marcus Overhagen "; + #define BUILDING_MEDIA_ADDON 1 #include #include