summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dexela/CMakeLists.txt10
-rw-r--r--plugins/dexela/uca-dexela-camera.c9
2 files changed, 12 insertions, 7 deletions
diff --git a/plugins/dexela/CMakeLists.txt b/plugins/dexela/CMakeLists.txt
index df939c3..794b811 100644
--- a/plugins/dexela/CMakeLists.txt
+++ b/plugins/dexela/CMakeLists.txt
@@ -1,17 +1,17 @@
cmake_minimum_required(VERSION 2.6)
project(ucadexela C)
-set(VERSION "1.0.0")
+set(VERSION "1.0.1")
find_package(DEXELA)
if (DEXELA_FOUND)
set(UCA_CAMERA_NAME "dexela")
- set(PLUGIN_REVISION "4")
- set(PLUGIN_VERSION "1.0.0")
+ set(PLUGIN_REVISION "1")
+ set(PLUGIN_VERSION ${VERSION})
set(PLUGIN_SUMMARY "Dexela plugin for libuca")
set(PLUGIN_CHANGELOG "${CMAKE_CURRENT_SOURCE_DIR}/changelog.txt")
set(PLUGIN_DESCRIPTION "Plugin for the Dexela 1207 detector.")
- set(PLUGIN_REQUIRES "libuca = 1.1.0, libdexela >= 0.9.2")
+ set(PLUGIN_REQUIRES "libuca = 1.1.0, libdexela >= 1.0.0")
set(PLUGIN_VENDOR "ANKA Computing Group")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../package-plugin.sh.in
@@ -22,7 +22,7 @@ if (DEXELA_FOUND)
add_library(ucadexela SHARED uca-dexela-camera.c)
- target_link_libraries(ucadexela ${UCA_DEPS} ${DEXELA_LIBRARIES})
+ target_link_libraries(ucadexela ${UCA_DEPS} ${DEXELA_LIBRARIES})
install(TARGETS ucadexela
LIBRARY DESTINATION ${UCA_PLUGINDIR}
diff --git a/plugins/dexela/uca-dexela-camera.c b/plugins/dexela/uca-dexela-camera.c
index 425b742..37832b2 100644
--- a/plugins/dexela/uca-dexela-camera.c
+++ b/plugins/dexela/uca-dexela-camera.c
@@ -16,9 +16,8 @@
Franklin St, Fifth Floor, Boston, MA 02110, USA */
#include <string.h>
-#include "uca-camera.h"
+#include <gmodule.h>
#include "uca-dexela-camera.h"
-#include "uca-enums.h"
#include "dexela_api.h"
#define UCA_DEXELA_CAMERA_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), UCA_TYPE_DEXELA_CAMERA, UcaDexelaCameraPrivate))
@@ -393,3 +392,9 @@ static void uca_dexela_camera_init(UcaDexelaCamera *self)
{
self->priv = UCA_DEXELA_CAMERA_GET_PRIVATE(self);
}
+
+G_MODULE_EXPORT UcaCamera *
+uca_camera_impl_new (GError **error)
+{
+ return UCA_CAMERA(uca_dexela_camera_new(error));
+}