Stephen Kelly 3f7e03643d Export deprecated free methods too.
That way they can be linked to even after being deprecated.
2011-08-11 00:18:33 +02:00

55 lines
1.1 KiB
C++

#ifndef LIBSTATIC_H
#define LIBSTATIC_H
#include "libstatic_export.h"
class LIBSTATIC_EXPORT Libstatic {
public:
int libstatic() const;
int LIBSTATIC_EXPORT libstatic_exported() const;
int LIBSTATIC_DEPRECATED libstatic_deprecated() const;
int libstatic_not_exported() const;
int LIBSTATIC_NO_EXPORT libstatic_excluded() const;
};
class LibstaticNotExported {
public:
int libstatic() const;
int LIBSTATIC_EXPORT libstatic_exported() const;
int LIBSTATIC_DEPRECATED libstatic_deprecated() const;
int libstatic_not_exported() const;
int LIBSTATIC_NO_EXPORT libstatic_excluded() const;
};
class LIBSTATIC_NO_EXPORT LibstaticExcluded {
public:
int libstatic() const;
int LIBSTATIC_EXPORT libstatic_exported() const;
int LIBSTATIC_DEPRECATED libstatic_deprecated() const;
int libstatic_not_exported() const;
int LIBSTATIC_NO_EXPORT libstatic_excluded() const;
};
LIBSTATIC_EXPORT int libstatic_exported();
LIBSTATIC_DEPRECATED_EXPORT int libstatic_deprecated();
int libstatic_not_exported();
int LIBSTATIC_NO_EXPORT libstatic_excluded();
#endif