| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
- // LICENSE: Atomic Game Engine Editor and Tools EULA
- // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
- // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
- //
- #include <Atomic/IO/File.h>
- #include <Atomic/IO/FileSystem.h>
- #include "AssetDatabase.h"
- #include "AssetImporter.h"
- namespace ToolCore
- {
- AssetImporter::AssetImporter(Context* context, Asset *asset) : Object(context),
- asset_(asset),
- requiresCacheFile_(true)
- {
- SetDefaults();
- }
- AssetImporter::~AssetImporter()
- {
- }
- void AssetImporter::SetDefaults()
- {
- }
- bool AssetImporter::LoadSettings(JSONValue& root)
- {
- LoadSettingsInternal(root);
- return true;
- }
- bool AssetImporter::LoadSettingsInternal(JSONValue& jsonRoot)
- {
- return true;
- }
- bool AssetImporter::SaveSettings(JSONValue& root)
- {
- SaveSettingsInternal(root);
- return true;
- }
- bool AssetImporter::SaveSettingsInternal(JSONValue& jsonRoot)
- {
- return true;
- }
- }
|