Debian Codegraph @

Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.h

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