NAP
videofile.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 #pragma once
6 
7 // External includes
8 #include <rtti/typeinfo.h>
9 #include <nap/resource.h>
10 
11 namespace nap
12 {
17  class VideoFile : public Resource
18  {
19  RTTI_ENABLE(Resource)
20  public:
26  virtual bool init(utility::ErrorState& errorState) override;
27 
28  std::string mPath;
29  };
30 }
nap::VideoFile::init
virtual bool init(utility::ErrorState &errorState) override
nap::VideoFile
Definition: videofile.h:17
nap::utility::ErrorState
Definition: errorstate.h:19
nap
Definition: templateapp.h:17
nap::Resource
Definition: resource.h:19
nap::VideoFile::mPath
std::string mPath
Property: 'Path' location of video file on disk.
Definition: videofile.h:28