1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Pass GMenu2X instance by reference instead of pointer

This makes it explicit that null is not accepted.
This commit is contained in:
Maarten ter Huurne
2015-04-21 20:32:33 +02:00
parent 05a58e869c
commit 11ca8308b1
55 changed files with 406 additions and 404 deletions

View File

@@ -26,7 +26,7 @@
class FileDialog : public BrowseDialog {
public:
FileDialog(
GMenu2X *gmenu2x, Touchscreen &ts, const std::string &text,
GMenu2X& gmenu2x, Touchscreen &ts, const std::string &text,
const std::string &filter="*", const std::string &file="",
const std::string &title = "File Dialog");
bool exec();