summaryrefslogtreecommitdiffstats
path: root/Tests/Module/GenerateExportHeader/libshared/libshared.h
blob: 280e1857191c79911d13683d48add75885b2611e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

#ifndef LIBSHARED_H
#define LIBSHARED_H

#include "libshared_export.h"

class LIBSHARED_EXPORT Libshared {
public:
  int libshared() const;

#ifdef COMPILER_IS_MSVC
  // Double exporting not possible with MSVC
  int libshared_exported() const;
#else
  int LIBSHARED_EXPORT libshared_exported() const;
#endif

  int LIBSHARED_DEPRECATED libshared_deprecated() const;

  int libshared_not_exported() const;

  int LIBSHARED_NO_EXPORT libshared_excluded() const;
};

class LibsharedNotExported {
public:
  int libshared() const;

  int LIBSHARED_EXPORT libshared_exported() const;

  int LIBSHARED_DEPRECATED_EXPORT libshared_deprecated() const;

  int libshared_not_exported() const;

  int LIBSHARED_NO_EXPORT libshared_excluded() const;
};

class LIBSHARED_NO_EXPORT LibsharedExcluded {
public:
  int libshared() const;

  int LIBSHARED_EXPORT libshared_exported() const;

  int LIBSHARED_DEPRECATED_EXPORT libshared_deprecated() const;

  int libshared_not_exported() const;

  int LIBSHARED_NO_EXPORT libshared_excluded() const;
};

LIBSHARED_EXPORT int libshared_exported();

LIBSHARED_DEPRECATED_EXPORT int libshared_deprecated();

int libshared_not_exported();

int LIBSHARED_NO_EXPORT libshared_excluded();

#endif