#pragma region CPL License
/*
Nuclex Engine
Copyright (C) 2002-2008 Nuclex Development Labs
This library is free software; you can redistribute it and/or
modify it under the terms of the IBM Common Public License as
published by the IBM Corporation; either version 1.0 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
IBM Common Public License for more details.
You should have received a copy of the IBM Common Public
License along with this library
*/
#pragma endregion
#ifndef NUCLEX_PLUGINS_AUDIERE_AUDIEREPLUGIN_H
#define NUCLEX_PLUGINS_AUDIERE_AUDIEREPLUGIN_H
#include "Nuclex/Nuclex.h"
#include "Nuclex/Support/Synchronization.h"
// The following block will decide whether symbols are imported from a
// dll (client app) or exported to a dll (nuclex library).
// The AUDIEREPLUGIN_EXPORTS symbol should only be used for compiling
// the Nuclex.Plugins.Audiere library and nowhere else.
//
#ifdef AUDIEREPLUGIN_EXPORTS
#define AUDIEREPLUGIN_API __declspec(dllexport)
#else
#define AUDIEREPLUGIN_API __declspec(dllimport)
#endif
namespace Nuclex {
// ------------------------------------------------------------------------------------------- //
/// Get the mutex used for all threaded operations on Audiere
/// The mutex to use for all threaded operations on Audiere
AUDIEREPLUGIN_API Mutex &getAudiereMutex();
// ------------------------------------------------------------------------------------------- //
} // namespace Nuclex
#endif // NUCLEX_PLUGINS_AUDIERE_AUDIEREPLUGIN_H