Skip to content
Permalink
Browse files
2010-03-15 Leandro Pereira <leandro@profusion.mobi>
        Reviewed by Kenneth Rohde Christiansen.

        Add EFL port files to platform/efl.
        http://webkit.org/b/35888

        * platform/efl/SoundEfl.cpp: Added.

Canonical link: https://commits.webkit.org/47311@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@56016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
eseidel committed Mar 15, 2010
1 parent e8c88bd commit ddd89d20b8ca6843248629d3684088d50faad78d
Showing with 57 additions and 0 deletions.
  1. +9 −0 WebCore/ChangeLog
  2. +48 −0 WebCore/platform/efl/SoundEfl.cpp
@@ -1,3 +1,12 @@
2010-03-15 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Kenneth Rohde Christiansen.

Add EFL port files to platform/efl.
http://webkit.org/b/35888

* platform/efl/SoundEfl.cpp: Added.

2010-03-15 Andy Estes <aestes@apple.com>

Reviewed by John Sullivan.
@@ -0,0 +1,48 @@
/*
* Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
* Copyright (C) 2009-2010 ProFUSION embedded systems
* Copyright (C) 2009-2010 Samsung Electronics
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "config.h"
#include "Sound.h"

#include "NotImplemented.h"

#ifdef HAVE_ECORE_X
#include <Ecore_X.h>
#include <X11/Xlib.h>
#endif

namespace WebCore {

void systemBeep()
{
#ifdef HAVE_ECORE_X
Display* display = (Display*) ecore_x_display_get();
XBell(display, 0);
#endif
}

}

0 comments on commit ddd89d2

Please sign in to comment.