NAP
Overview
Manual
Classes
Namespaces
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
nap
core
src
nap
resource.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
#include <rtti/object.h>
8
#include <utility/dllexport.h>
9
10
namespace
nap
11
{
19
class
NAPAPI
Resource
:
public
rtti::Object
20
{
21
RTTI_ENABLE(
rtti::Object
)
22
public
:
23
Resource
();
24
31
using
rtti::Object::init
;
32
40
using
rtti::Object::onDestroy
;
41
};
42
}
nap::rtti::Object::init
virtual bool init(utility::ErrorState &errorState)
Definition:
object.h:46
nap::rtti::Object
Definition:
object.h:30
nap::rtti::Object::onDestroy
virtual void onDestroy()
Definition:
object.h:55
nap
Definition:
templateapp.h:17
nap::Resource
Definition:
resource.h:19
Generated by doxygen