orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxPlugin.h
Go to the documentation of this file.
1/* Orx - Portable Game Engine
2 *
3 * Copyright (c) 2008- 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
33
43
44
45#ifndef _orxPLUGIN_H_
46#define _orxPLUGIN_H_
47
48
49#include "orxInclude.h"
50
52
53
56#define orxPLUGIN_KZ_RESOURCE_GROUP "Plugin"
57
58
59/*********************************************
60 Function prototypes
61 *********************************************/
62
65extern orxDLLAPI void orxFASTCALL orxPlugin_Setup();
66
70extern orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Init();
71
74extern orxDLLAPI void orxFASTCALL orxPlugin_Exit();
75
76
81extern orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_Load(const orxSTRING _zPluginName);
82
87extern orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Unload(orxHANDLE _hPluginHandle);
88
94extern orxDLLAPI orxPLUGIN_FUNCTION orxFASTCALL orxPlugin_GetFunction(orxHANDLE _hPluginHandle, const orxSTRING _zFunctionName);
95
100extern orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_GetHandle(const orxSTRING _zPluginName);
101
106extern orxDLLAPI const orxSTRING orxFASTCALL orxPlugin_GetName(orxHANDLE _hPluginHandle);
107
108#endif /* _orxPLUGIN_H_ */
109
#define orxDLLAPI
Definition orxDecl.h:381
orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Unload(orxHANDLE _hPluginHandle)
orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_Load(const orxSTRING _zPluginName)
orxDLLAPI orxPLUGIN_FUNCTION orxFASTCALL orxPlugin_GetFunction(orxHANDLE _hPluginHandle, const orxSTRING _zFunctionName)
orxDLLAPI void orxFASTCALL orxPlugin_Setup()
orxDLLAPI orxHANDLE orxFASTCALL orxPlugin_GetHandle(const orxSTRING _zPluginName)
orxDLLAPI orxSTATUS orxFASTCALL orxPlugin_Init()
orxDLLAPI const orxSTRING orxFASTCALL orxPlugin_GetName(orxHANDLE _hPluginHandle)
orxDLLAPI void orxFASTCALL orxPlugin_Exit()
orxSTATUS(orxFASTCALL * orxPLUGIN_FUNCTION)()
void * orxHANDLE
Definition orxType.h:166
orxSTATUS
Definition orxType.h:270

Generated for orx by doxygen 1.8.11