SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
IModuleLoader.hpp
Go to the documentation of this file.
1
//
2
// Created by wery_a on 07/01/17.
3
//
4
5
#ifndef API_V2_IMODULELOADER_HPP
6
#define API_V2_IMODULELOADER_HPP
7
8
#include "
Module/IModule.hpp
"
9
13
class
IModuleLoader
{
14
public
:
20
virtual
Module::IModule
*
Load
(std::string
const
&path) = 0;
21
27
virtual
bool
Unload
(
Module::IModule
*module) = 0;
28
34
virtual
bool
IsLoaded
(std::string
const
&name)
const
= 0;
35
41
virtual
bool
IsLoaded
(
Module::IModule::Type
type)
const
= 0;
42
43
public
:
49
virtual
Module::IModule
*
Get
(std::string
const
&name)
const
= 0;
50
55
virtual
Module::IModule
*
Get
(
Module::IModule::Type
)
const
= 0;
56
57
};
58
59
#endif //API_V2_IMODULELOADER_HPP
IModuleLoader::IsLoaded
virtual bool IsLoaded(std::string const &name) const =0
check if module is loaded by name
Module::IModule
Definition:
IModule.hpp:20
IModuleLoader::Get
virtual Module::IModule * Get(std::string const &name) const =0
IModuleLoader::Unload
virtual bool Unload(Module::IModule *module)=0
unload module by pointer
IModule.hpp
IModuleLoader
Definition:
IModuleLoader.hpp:13
Module::IModule::Type
Type
Definition:
IModule.hpp:25
IModuleLoader::Load
virtual Module::IModule * Load(std::string const &path)=0
load module by path
API
include
IModuleLoader.hpp
Generated on Tue Jan 10 2017 17:44:53 for SaltAPI by
1.8.6