Mercurial > minori
comparison include/gui/window.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 | 862d0d8619f6 | 
| children | f31305b9f60a | 
   comparison
  equal
  deleted
  inserted
  replaced
| 260:dd211ff68b36 | 261:3ec7804abf17 | 
|---|---|
| 1 #ifndef __window_h | 1 #ifndef MINORI_WINDOW_H_ | 
| 2 #define __window_h | 2 #define MINORI_WINDOW_H_ | 
| 3 #include "core/config.h" | 3 #include "core/config.h" | 
| 4 #include <QMainWindow> | 4 #include <QMainWindow> | 
| 5 #include <memory> | 5 #include <memory> | 
| 6 | 6 | 
| 7 /* *could* be forward-declared, but this causes | 7 /* *could* be forward-declared, but this causes | 
| 65 std::unique_ptr<PlayingThread> thread = nullptr; | 65 std::unique_ptr<PlayingThread> thread = nullptr; | 
| 66 | 66 | 
| 67 QMenu* folder_menu = nullptr; | 67 QMenu* folder_menu = nullptr; | 
| 68 }; | 68 }; | 
| 69 | 69 | 
| 70 #endif // __window_h | 70 #endif // MINORI_WINDOW_H_ | 
