Mercurial > minori
comparison include/sys/win32/dark_theme.h @ 261:3ec7804abf17
include: make header guards more sane
The C++ standard[1] says:
Each identifier that contains a double underscore __ or
begins with an underscore followed by an uppercase letter
is reserved to the implementation for any use.
[1]: https://timsong-cpp.github.io/cppwp/n4659/lex.name#3.1
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Wed, 03 Apr 2024 20:04:28 -0400 |
| parents | 6d8da6e64d61 |
| children |
comparison
equal
deleted
inserted
replaced
| 260:dd211ff68b36 | 261:3ec7804abf17 |
|---|---|
| 1 #ifndef __sys__win32__dark_theme_h | 1 #ifndef MINORI_SYS_WIN32_DARK_THEME_H_ |
| 2 #define __sys__win32__dark_theme_h | 2 #define MINORI_SYS_WIN32_DARK_THEME_H_ |
| 3 | 3 |
| 4 class QWidget; | 4 class QWidget; |
| 5 | 5 |
| 6 namespace win32 { | 6 namespace win32 { |
| 7 | 7 |
| 10 bool DarkThemeAvailable(); | 10 bool DarkThemeAvailable(); |
| 11 bool IsInDarkTheme(); | 11 bool IsInDarkTheme(); |
| 12 | 12 |
| 13 } // namespace win32 | 13 } // namespace win32 |
| 14 | 14 |
| 15 #endif // __sys__win32__dark_theme_h | 15 #endif // MINORI_SYS_WIN32_DARK_THEME_H_ |
