Adding ViroKit. Needs AWSCore :(

This commit is contained in:
John Lyon-Smith
2018-03-27 17:46:15 -07:00
parent 2ab15e7dc1
commit 02e06dface
844 changed files with 86921 additions and 21 deletions

View File

@@ -0,0 +1,32 @@
//
// VROSoundData.h
// ViroRenderer
//
// Created by Andy Chu on 1/30/17.
// Copyright © 2017 Viro Media. All rights reserved.
//
#ifndef VROSoundData_h
#define VROSoundData_h
#include <string>
#include <memory>
#include "VROSoundDataDelegate.h"
class VROSoundData {
public:
virtual ~VROSoundData() {}
virtual std::string getLocalFilePath() = 0;
virtual void setDelegate(std::weak_ptr<VROSoundDataDelegate> delegate) {
_delegate = delegate;
}
protected:
std::weak_ptr<VROSoundDataDelegate> _delegate;
};
#endif /* VROSoundData_h */