1 2 3 4 5 6 7 8 9 10
#include "nodeprecatedlib_export.h" class NODEPRECATEDLIB_EXPORT SomeClass { public: #ifndef NODEPRECATEDLIB_NO_DEPRECATED void someMethod() const; #endif };