2011-07-13 02:13:33 +02:00
|
|
|
#ifndef LIBSHARED_H
|
|
|
|
#define LIBSHARED_H
|
|
|
|
|
|
|
|
#include "libshared_export.h"
|
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
namespace libshared {
|
|
|
|
|
|
|
|
class Class
|
2016-05-16 10:34:04 -04:00
|
|
|
{
|
2011-07-13 02:13:33 +02:00
|
|
|
public:
|
2016-09-02 16:53:34 -04:00
|
|
|
int method() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_EXPORT method_exported() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED method_deprecated() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED_EXPORT method_deprecated_exported() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_NO_EXPORT method_excluded() const;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
static int const data;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
static int const LIBSHARED_EXPORT data_exported;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
|
|
|
static int const LIBSHARED_NO_EXPORT data_excluded;
|
2011-07-13 02:13:33 +02:00
|
|
|
};
|
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
class LIBSHARED_EXPORT ExportedClass
|
2016-05-16 10:34:04 -04:00
|
|
|
{
|
2011-07-13 02:13:33 +02:00
|
|
|
public:
|
2016-09-02 16:53:34 -04:00
|
|
|
int method() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED method_deprecated() const;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_NO_EXPORT method_excluded() const;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
static int const data;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
|
|
|
static int const LIBSHARED_NO_EXPORT data_excluded;
|
2011-07-13 02:13:33 +02:00
|
|
|
};
|
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
class LIBSHARED_NO_EXPORT ExcludedClass
|
2016-05-16 10:34:04 -04:00
|
|
|
{
|
2011-07-13 02:13:33 +02:00
|
|
|
public:
|
2016-09-02 16:53:34 -04:00
|
|
|
int method() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_EXPORT method_exported() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED method_deprecated() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED_EXPORT method_deprecated_exported() const;
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_NO_EXPORT method_excluded() const;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
static int const data;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
static int const LIBSHARED_EXPORT data_exported;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
|
|
|
static int const LIBSHARED_NO_EXPORT data_excluded;
|
2011-07-13 02:13:33 +02:00
|
|
|
};
|
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int function();
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_EXPORT function_exported();
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED function_deprecated();
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_DEPRECATED_EXPORT function_deprecated_exported();
|
2011-07-13 02:13:33 +02:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
int LIBSHARED_NO_EXPORT function_excluded();
|
2016-09-02 11:23:16 -04:00
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
extern int const data;
|
|
|
|
|
|
|
|
extern int const LIBSHARED_EXPORT data_exported;
|
2016-09-02 11:23:16 -04:00
|
|
|
|
|
|
|
extern int const LIBSHARED_NO_EXPORT data_excluded;
|
|
|
|
|
2016-09-02 16:53:34 -04:00
|
|
|
} // namespace libshared
|
|
|
|
|
2016-09-02 11:23:16 -04:00
|
|
|
LIBSHARED_EXPORT void use_int(int);
|
|
|
|
|
2011-07-13 02:13:33 +02:00
|
|
|
#endif
|