From 2c69e3b7c591c5cc9563e950096954a8b0a35a6d Mon Sep 17 00:00:00 2001
From: MALFREYT <alexandre.malfreyt@synchrotron-soleil.fr>
Date: Mon, 17 Mar 2025 18:21:51 +0100
Subject: [PATCH] feat: add ASL dependency in info attribute (hardcoded version
 because I could not find a variable for the version)

---
 src/SingleShotAO.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/SingleShotAO.cpp b/src/SingleShotAO.cpp
index 748d7f1..3257a7b 100755
--- a/src/SingleShotAO.cpp
+++ b/src/SingleShotAO.cpp
@@ -216,8 +216,7 @@ void SingleShotAO::init_device()
 		
 		INFO_STREAM << "Create the DeviceInfo in order to manage info on versions." << endl;
 		yat4tango::DeviceInfo::initialize(this, YAT_XSTR(PROJECT_NAME), YAT_XSTR(PROJECT_VERSION));
-		// yat4tango::DeviceInfo::add_dependency(this, "Dependency Name", YAT_XSTR(dependency_name_PROJECT_VERSION));
-		// TODO: Add dependencies
+		yat4tango::DeviceInfo::add_dependency(this, "ASL", ">=1.0");
 	}
 	catch (Tango::DevFailed &df)
 	{
-- 
GitLab