Debian Codegraph @

Tests/RunCMake/GenerateExportHeader/libshared/libshared.h

raw
1 #ifndef LIBSHARED_H
2 #define LIBSHARED_H
3
4 #include "libshared_export.h"
5
6 namespace libshared {
7
8 class Class
9 {
10 public:
11 int method() const;
12
13 int LIBSHARED_EXPORT method_exported() const;
14
15 int LIBSHARED_DEPRECATED method_deprecated() const;
16
17 int LIBSHARED_DEPRECATED_EXPORT method_deprecated_exported() const;
18
19 int LIBSHARED_NO_EXPORT method_excluded() const;
20
21 static int const data;
22
23 static int const LIBSHARED_EXPORT data_exported;
24
25 static int const LIBSHARED_NO_EXPORT data_excluded;
26 };
27
28 class LIBSHARED_EXPORT ExportedClass
29 {
30 public:
31 int method() const;
32
33 int LIBSHARED_DEPRECATED method_deprecated() const;
34
35 int LIBSHARED_NO_EXPORT method_excluded() const;
36
37 static int const data;
38
39 static int const LIBSHARED_NO_EXPORT data_excluded;
40 };
41
42 class LIBSHARED_NO_EXPORT ExcludedClass
43 {
44 public:
45 int method() const;
46
47 int LIBSHARED_EXPORT method_exported() const;
48
49 int LIBSHARED_DEPRECATED method_deprecated() const;
50
51 int LIBSHARED_DEPRECATED_EXPORT method_deprecated_exported() const;
52
53 int LIBSHARED_NO_EXPORT method_excluded() const;
54
55 static int const data;
56
57 static int const LIBSHARED_EXPORT data_exported;
58
59 static int const LIBSHARED_NO_EXPORT data_excluded;
60 };
61
62 int function();
63
64 int LIBSHARED_EXPORT function_exported();
65
66 int LIBSHARED_DEPRECATED function_deprecated();
67
68 int LIBSHARED_DEPRECATED_EXPORT function_deprecated_exported();
69
70 int LIBSHARED_NO_EXPORT function_excluded();
71
72 extern int const data;
73
74 extern int const LIBSHARED_EXPORT data_exported;
75
76 extern int const LIBSHARED_NO_EXPORT data_excluded;
77
78 } // namespace libshared
79
80 LIBSHARED_EXPORT void use_int(int);
81
82 #endif