iFun Engine API
1.0.0-b6053
Great Technology for Great Games
include
funapi
framework
unit_test.h
Go to the documentation of this file.
1
// Copyright (C) 2013-2020 iFunFactory Inc. All Rights Reserved.
2
//
3
// This work is confidential and proprietary to iFunFactory Inc. and
4
// must not be used, disclosed, copied, or distributed without the prior
5
// consent of iFunFactory Inc.
6
9
#ifndef INCLUDE_FUNAPI_FRAMEWORK_UNIT_TEST_H_
10
#define INCLUDE_FUNAPI_FRAMEWORK_UNIT_TEST_H_
11
12
#include <
funapi/types.h
>
13
14
#include <set>
15
16
17
namespace
fun
{
18
27
class
FUNAPI_DLL_VISIBILITY
ComponentEnabler
{
28
public
:
30
explicit
ComponentEnabler
(
const
std::set<string> &enabled_components);
31
33
explicit
ComponentEnabler
(
const
string
&enabled_component);
34
37
explicit
ComponentEnabler
(
const
string
&enabled_component1,
38
const
string
&enabled_component2);
39
40
~
ComponentEnabler
();
41
};
42
43
}
// namespace fun
44
45
#endif // INCLUDE_FUNAPI_FRAMEWORK_UNIT_TEST_H_
types.h
fun
Definition:
json.h:18
fun::ComponentEnabler
ComponentEnabler is to preload components.
Definition:
unit_test.h:27