Rudiments

- Main Page
- Classes

dynamiclib.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_DYNAMICLIB_H
5 #define RUDIMENTS_DYNAMICLIB_H
6
7 #include <rudiments/private/dynamiclibincludes.h>
8
9 class dynamiclibprivate;
10
13 class RUDIMENTS_DLLSPEC dynamiclib {
14 public:
15
17 dynamiclib();
18
20 ~dynamiclib();
21
30 bool open(const char *library,
31 bool loaddependencies,
32 bool global);
33
35 bool close();
36
40 void *getSymbol(const char *symbol) const;
41
49 char *getError() const;
50
58 static void setErrorMutex(threadmutex *mtx);
59
60 #include <rudiments/private/dynamiclib.h>
61 };
62
63 #endif
threadmutex
Definition: threadmutex.h:13
dynamiclib
Definition: dynamiclib.h:13