add dynamic
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@687 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
5bd20cee74
commit
4df3f4658b
6 changed files with 77 additions and 6 deletions
39
include/Mw/Abstract/Dynamic.h
Normal file
39
include/Mw/Abstract/Dynamic.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* $Id$ */
|
||||
/*!
|
||||
* @file Mw/Abstract/iDynamic.h
|
||||
* @brief Time
|
||||
*/
|
||||
#ifndef __MW_ABSTRACT_DYNAMIC_H__
|
||||
#define __MW_ABSTRACT_DYNAMIC_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief Opens a dynamic library
|
||||
* @param path Path
|
||||
* @return Handle
|
||||
*/
|
||||
MWDECL void* MwDynamicOpen(const char* path);
|
||||
|
||||
/*!
|
||||
* @brief Gets a symbol from the dynamic library
|
||||
* @param handle Handle
|
||||
* @param symbol Symbol
|
||||
*/
|
||||
MWDECL void* MwDynamicSymbol(void* handle, const char* symbol);
|
||||
|
||||
/*!
|
||||
* @brief Closes a dynamic library
|
||||
* @param handle Handle
|
||||
*/
|
||||
MWDECL void MwDynamicClose(void* handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
#include <Mw/Draw.h>
|
||||
#include <Mw/Version.h>
|
||||
|
||||
#include <Mw/Abstract/Dynamic.h>
|
||||
#include <Mw/Abstract/Directory.h>
|
||||
#include <Mw/Abstract/Time.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue