configuration.h 663 B

12345678910111213141516171819202122232425
  1. // Copyright 2014 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef MOJO_CORE_CONFIGURATION_H_
  5. #define MOJO_CORE_CONFIGURATION_H_
  6. #include "mojo/core/embedder/configuration.h"
  7. #include "mojo/core/system_impl_export.h"
  8. namespace mojo {
  9. namespace core {
  10. namespace internal {
  11. MOJO_SYSTEM_IMPL_EXPORT extern Configuration g_configuration;
  12. } // namespace internal
  13. MOJO_SYSTEM_IMPL_EXPORT inline const Configuration& GetConfiguration() {
  14. return internal::g_configuration;
  15. }
  16. } // namespace core
  17. } // namespace mojo
  18. #endif // MOJO_CORE_CONFIGURATION_H_