Go to the source code of this file.
Namespaces | |
HelperFunctions | |
InternalLibraryFunctions | |
Macros | |
#define | RETURN_STATIC_IDENTIFIER(x) const static Identifier id(x); return id; |
#define | FILL_PARAMETER_ID(enumClass, enumId, size, text) case (int)enumClass::enumId: size = HelperFunctions::writeString(text, #enumId); break; |
#define | MATCHES_VERSION_NUMBER(versionAsString) (strcmp(ProjectInfo::versionString, versionAsString) == 0) |
Functions | |
size_t | writeString (char *location, const char *content) |
String | createStringFromChar (const char *charFromOtherHeap, size_t length) |
template<class T > | |
void | registerDspModule () |
DLL_EXPORT const void * | getModuleList () |
DLL_EXPORT DspBaseObject * | createDspObject (const char *name) |
DLL_EXPORT void | destroyDspObject (DspBaseObject *handle) |
DLL_EXPORT LoadingErrorCode | initialise (const char *args) |
#define RETURN_STATIC_IDENTIFIER | ( | x | ) | const static Identifier id(x); return id; |
returns a static Identifier called id
.
#define FILL_PARAMETER_ID | ( | enumClass, | |
enumId, | |||
size, | |||
text | |||
) | case (int)enumClass::enumId: size = HelperFunctions::writeString(text, #enumId); break; |
Adds a case statement for the enum and returns the name of the enum.
#define MATCHES_VERSION_NUMBER | ( | versionAsString | ) | (strcmp(ProjectInfo::versionString, versionAsString) == 0) |
checks if the given version number (format "1.0.0") matches the version number specified in the Introjucer project.
DLL_EXPORT LoadingErrorCode initialise | ( | const char * | args | ) |
Overwrite this method and register all modules that you want to create with this library
This method will be called only if the library is not already loaded.
You can return an LoadingErrorCode if something is supposed to be wrong: