Stephen Kelly 1590d5fe4f Don't export methods on already exported classes.
This is always a mistake.
2011-08-11 10:55:12 +02:00

55 lines
1.4 KiB
C++

#ifndef SHARED_AND_STATIC_H
#define SHARED_AND_STATIC_H
#include "libshared_and_static_export.h"
class LIBSHARED_AND_STATIC_EXPORT LibsharedAndStatic {
public:
int libshared_and_static() const;
int libshared_and_static_exported() const;
int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
int libshared_and_static_not_exported() const;
int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
};
class LibsharedAndStaticNotExported {
public:
int libshared_and_static() const;
int LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
int libshared_and_static_not_exported() const;
int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
};
class LIBSHARED_AND_STATIC_NO_EXPORT LibsharedAndStaticExcluded {
public:
int libshared_and_static() const;
int LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
int libshared_and_static_not_exported() const;
int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
};
LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported();
LIBSHARED_AND_STATIC_DEPRECATED_EXPORT int libshared_and_static_deprecated();
int libshared_and_static_not_exported();
int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded();
#endif