haiku-dumber/App.h

42 lines
642 B
C
Raw Normal View History

2024-09-29 17:58:05 -03:00
/*
* Copyright 2024, My Name <my@email.address>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef APP_H
#define APP_H
#include "MainWindow.h"
2024-09-29 17:58:05 -03:00
#include <Application.h>
class App : public BApplication
{
public:
App();
virtual ~App();
2024-09-29 17:58:05 -03:00
virtual void AboutRequested();
2025-05-07 06:31:50 -03:00
MainWindow* mainWindow = nullptr;
BMessage settingsMessage;
BMessage* getSettingsMessage() { return &settingsMessage; }
virtual void MessageReceived(BMessage *msg);
2025-05-07 06:31:50 -03:00
2025-05-07 19:26:56 -03:00
void ReadyToRun()
{
printf("ready to Run");
// mainWindow->checkValidKey();
}
2024-09-29 17:58:05 -03:00
private:
};
2025-05-07 06:31:50 -03:00
2024-09-29 17:58:05 -03:00
#endif // APP_H