orx  stable
Portable Game Engine
orxPlugin.h
Go to the documentation of this file.
1 /* Orx - Portable Game Engine
2  *
3  * Copyright (c) 2008-2017 Orx-Project
4  *
5  * This software is provided 'as-is', without any express or implied
6  * warranty. In no event will the authors be held liable for any damages
7  * arising from the use of this software.
8  *
9  * Permission is granted to anyone to use this software for any purpose,
10  * including commercial applications, and to alter it and redistribute it
11  * freely, subject to the following restrictions:
12  *
13  * 1. The origin of this software must not be misrepresented; you must not
14  * claim that you wrote the original software. If you use this software
15  * in a product, an acknowledgment in the product documentation would be
16  * appreciated but is not required.
17  *
18  * 2. Altered source versions must be plainly marked as such, and must not be
19  * misrepresented as being the original software.
20  *
21  * 3. This notice may not be removed or altered from any source
22  * distribution.
23  */
24 
45 #ifndef _orxPLUGIN_H_
46 #define _orxPLUGIN_H_
47 
48 
49 #include "orxInclude.h"
50 
51 #include "plugin/orxPluginType.h"
52 
53 
54 /*********************************************
55  Function prototypes
56  *********************************************/
57 
60 extern orxDLLAPI void orxFASTCALL orxPlugin_Setup();
61 
65 extern orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Init();
66 
69 extern orxDLLAPI void orxFASTCALL orxPlugin_Exit();
70 
71 
77 extern orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_Load(const orxSTRING _zPluginFileName, const orxSTRING _zPluginName);
78 
84 extern orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_LoadUsingExt(const orxSTRING _zPluginFileName, const orxSTRING _zPluginName);
85 
90 extern orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Unload(orxHANDLE _hPluginHandle);
91 
97 extern orxDLLAPI orxPLUGIN_FUNCTION orxFASTCALL orxPlugin_GetFunction(orxHANDLE _hPluginHandle, const orxSTRING _zFunctionName);
98 
103 extern orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_GetHandle(const orxSTRING _zPluginName);
104 
109 extern orxDLLAPI const orxSTRING orxFASTCALL orxPlugin_GetName(orxHANDLE _hPluginHandle);
110 
111 #endif /* _orxPLUGIN_H_ */
112 
orxDLLAPI const orxSTRING orxFASTCALL orxPlugin_GetName(orxHANDLE _hPluginHandle)
orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_GetHandle(const orxSTRING _zPluginName)
orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_LoadUsingExt(const orxSTRING _zPluginFileName, const orxSTRING _zPluginName)
orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_Load(const orxSTRING _zPluginFileName, const orxSTRING _zPluginName)
orxDLLAPI orxPLUGIN_FUNCTION orxFASTCALL orxPlugin_GetFunction(orxHANDLE _hPluginHandle, const orxSTRING _zFunctionName)
orxDLLAPI void orxFASTCALL orxPlugin_Exit()
orxSTATUS(orxFASTCALL * orxPLUGIN_FUNCTION)()
Definition: orxPluginType.h:98
orxSTATUS
Definition: orxType.h:243
orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Init()
#define orxDLLAPI
Definition: orxDecl.h:387
orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Unload(orxHANDLE _hPluginHandle)
orxDLLAPI void orxFASTCALL orxPlugin_Setup()

Generated for orx by doxygen 1.5.6