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

Port to Tango 9

parent d74a56dd
......@@ -3,4 +3,4 @@ NAME_SRV = fbm-srv
CXXFLAGS =
LDFLAGS = -lrnm -lrnmshare -lfbm
include ../makefiles/Make-8.1.2.c.in
include ../makefiles/Make-9.3.3.in
......@@ -84,19 +84,19 @@ bool compare_cm_Z (cm_str_t i,cm_str_t j) { return (i.zposition < j.zposition);
//
//-----------------------------------------------------------------------------
FBM::FBM(Tango::DeviceClass *cl,string &s)
:Tango::Device_4Impl(cl,s.c_str())
:TANGO_BASE_CLASS(cl,s.c_str())
{
init_device();
}
FBM::FBM(Tango::DeviceClass *cl,const char *s)
:Tango::Device_4Impl(cl,s)
:TANGO_BASE_CLASS(cl,s)
{
init_device();
}
FBM::FBM(Tango::DeviceClass *cl,const char *s,const char *d)
:Tango::Device_4Impl(cl,s,d)
:TANGO_BASE_CLASS(cl,s,d)
{
init_device();
}
......
......@@ -97,7 +97,7 @@ typedef struct
*/
class FBM: public Tango::Device_4Impl
class FBM: public TANGO_BASE_CLASS
{
public :
// Add your own data members here
......
......@@ -638,7 +638,7 @@ void FBMClass::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