Archived
This forum has been archived. Please start a new discussion on GitHub.
Deprecating Classes in ICE
Hi Guys
i found that slice has deprecate keyword which can be used to deprecate functions in interface and or classes.
I want to deprecate the whole class ( it is a value object only).
In C++ #pragma deprecated(ClassName) is used to deprecate the class.
I tried many things in the slice file itself but non of them worked
Does Ice support something like this ?
Kamran Bumbia
i found that slice has deprecate keyword which can be used to deprecate functions in interface and or classes.
I want to deprecate the whole class ( it is a value object only).
In C++ #pragma deprecated(ClassName) is used to deprecate the class.
I tried many things in the slice file itself but non of them worked
Does Ice support something like this ?
Kamran Bumbia
0
Comments
-
Hi,
Could you please set your signature? See [thread=1697]this thread[/thread] for information on how to set your signature.
To answer your question, the "deprecate" metadata is only supported for class or interface operations with the slice2cpp compiler.
Cheers,
Benoit.0