summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/global-settings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-07-27 15:48:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-07-27 15:48:12 +0200
commitb68868247aea33b2e26b80058fc5a48df69ba53a (patch)
tree947eeb42e36a6bd81693537600f8634df0078e8c /facetracknoir/global-settings.cpp
parent25804c1f4a5cd9374e4f4caaa6a6039d28b1e64a (diff)
nix nonsensical typedef naming
Diffstat (limited to 'facetracknoir/global-settings.cpp')
-rw-r--r--facetracknoir/global-settings.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index 36c14f09..9c84945b 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -31,34 +31,34 @@ SelectedLibraries::SelectedLibraries(IDynamicLibraryProvider* mainApp) :
correct = false;
if (!mainApp)
return;
- NULLARY_DYNAMIC_FUNCTION ptr;
+ CTOR_FUNPTR ptr;
DynamicLibrary* lib;
lib = mainApp->current_tracker1();
if (lib && lib->Constructor) {
- ptr = (NULLARY_DYNAMIC_FUNCTION) lib->Constructor;
+ ptr = (CTOR_FUNPTR) lib->Constructor;
pTracker = (ITracker*) ptr();
}
lib = mainApp->current_tracker2();
if (lib && lib->Constructor) {
- ptr = (NULLARY_DYNAMIC_FUNCTION) lib->Constructor;
+ ptr = (CTOR_FUNPTR) lib->Constructor;
pSecondTracker = (ITracker*) ptr();
}
lib = mainApp->current_protocol();
if (lib && lib->Constructor) {
- ptr = (NULLARY_DYNAMIC_FUNCTION) lib->Constructor;
+ ptr = (CTOR_FUNPTR) lib->Constructor;
pProtocol = (IProtocol*) ptr();
}
lib = mainApp->current_filter();
if (lib && lib->Constructor) {
- ptr = (NULLARY_DYNAMIC_FUNCTION) lib->Constructor;
+ ptr = (CTOR_FUNPTR) lib->Constructor;
pFilter = (IFilter*) ptr();
}
@@ -109,13 +109,13 @@ DynamicLibrary::DynamicLibrary(const QString& filename)
{
fprintf(stderr, "Error, if any: %s\n", dlerror());
fflush(stderr);
- Dialog = (SETTINGS_FUNCTION) dlsym(handle, "GetDialog");
+ Dialog = (DIALOG_FUNPTR) dlsym(handle, "GetDialog");
fprintf(stderr, "Error, if any: %s\n", dlerror());
fflush(stderr);
- Constructor = (NULLARY_DYNAMIC_FUNCTION) dlsym(handle, "GetConstructor");
+ Constructor = (CTOR_FUNPTR) dlsym(handle, "GetConstructor");
fprintf(stderr, "Error, if any: %s\n", dlerror());
fflush(stderr);
- Metadata = (METADATA_FUNCTION) dlsym(handle, "GetMetadata");
+ Metadata = (METADATA_FUNPTR) dlsym(handle, "GetMetadata");
fprintf(stderr, "Error, if any: %s\n", dlerror());
fflush(stderr);
} else {