Commit e0c89ae8 authored by Graziano Scalamera's avatar Graziano Scalamera
Browse files

Port to Tango 9

parent 2f11649d
......@@ -3,4 +3,4 @@ NAME_SRV = adio-srv
CXXFLAGS =
LDFLAGS =
include ../makefiles/Make-8.1.2.c.in
include ../makefiles/Make-9.3.3.in
......@@ -113,19 +113,19 @@ namespace Adio_ns
//
//-----------------------------------------------------------------------------
Adio::Adio(Tango::DeviceClass *cl,string &s)
:Tango::Device_4Impl(cl,s.c_str())
:TANGO_BASE_CLASS(cl,s.c_str())
{
init_device();
}
Adio::Adio(Tango::DeviceClass *cl,const char *s)
:Tango::Device_4Impl(cl,s)
:TANGO_BASE_CLASS(cl,s)
{
init_device();
}
Adio::Adio(Tango::DeviceClass *cl,const char *s,const char *d)
:Tango::Device_4Impl(cl,s,d)
:TANGO_BASE_CLASS(cl,s,d)
{
init_device();
}
......
......@@ -62,7 +62,7 @@ namespace Adio_ns
*/
class Adio: public Tango::Device_4Impl
class Adio: public TANGO_BASE_CLASS
{
public :
// Add your own data members here
......
......@@ -1343,7 +1343,7 @@ void AdioClass::write_class_property()
// Put inheritance
Tango::DbDatum inher_datum("InheritedFrom");
vector<string> inheritance;
inheritance.push_back("Device_4Impl");
inheritance.push_back("TANGO_BASE_CLASS");
inher_datum << inheritance;
data.push_back(inher_datum);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment