mirror of
https://github.com/servo/servo.git
synced 2025-07-30 02:30:21 +01:00
Support building for Magic Leap.
This commit is contained in:
parent
e580250d5d
commit
dab8f4a97f
34 changed files with 1601 additions and 7 deletions
49
support/magicleap/Servo2D/code/src.gen/scenesGen.cpp
Normal file
49
support/magicleap/Servo2D/code/src.gen/scenesGen.cpp
Normal file
|
@ -0,0 +1,49 @@
|
|||
// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING --
|
||||
//
|
||||
// THE CONTENTS OF THIS FILE IS GENERATED BY CODE AND
|
||||
// ANY MODIFICATIONS WILL BE OVERWRITTEN
|
||||
//
|
||||
// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING --
|
||||
|
||||
// %BANNER_BEGIN%
|
||||
// ---------------------------------------------------------------------
|
||||
// %COPYRIGHT_BEGIN%
|
||||
//
|
||||
// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
|
||||
// Use of this file is governed by the Creator Agreement, located
|
||||
// here: https://id.magicleap.com/creator-terms
|
||||
//
|
||||
// %COPYRIGHT_END%
|
||||
// ---------------------------------------------------------------------
|
||||
// %BANNER_END%
|
||||
|
||||
#include <scenesGen.h>
|
||||
|
||||
namespace Servo2D_exportedNodes {
|
||||
const std::string content = "content";
|
||||
const std::string backButton = "backButton";
|
||||
const std::string fwdButton = "fwdButton";
|
||||
const std::string urlBar = "urlBar";
|
||||
}
|
||||
|
||||
namespace scenes {
|
||||
|
||||
const SceneDescriptor::ExportedNodeReferences Servo2D_exportedNodesMap = {
|
||||
{"content", Servo2D_exportedNodes::content},
|
||||
{"backButton", Servo2D_exportedNodes::backButton},
|
||||
{"fwdButton", Servo2D_exportedNodes::fwdButton},
|
||||
{"urlBar", Servo2D_exportedNodes::urlBar}
|
||||
};
|
||||
|
||||
const SceneDescriptor Servo2D(
|
||||
"Servo2D",
|
||||
"root",
|
||||
"/assets/scenes/scenes/Servo2D.scene.xml",
|
||||
"/assets/scenes/scenes/Servo2D.scene.res.xml",
|
||||
Servo2D_exportedNodesMap,
|
||||
true);
|
||||
|
||||
const SceneDescriptorReferences exportedScenes = {
|
||||
{Servo2D.getExportedName(), Servo2D}
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue