ed7fe730cb
… rather than soley "$APPDIR/protocols/". The vague "protocols/" leaf was also renamed to "cardie/".
38 lines
751 B
C++
38 lines
751 B
C++
/*
|
|
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
|
|
* Copyright 2009-2011, Pier Luigi Fiorini. All rights reserved.
|
|
* Copyright 2021, Jaidyn Levesque. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _THE_APP_H
|
|
#define _THE_APP_H
|
|
|
|
#include <Application.h>
|
|
#include <FindDirectory.h>
|
|
|
|
class MainWindow;
|
|
|
|
|
|
int main(int argc, char* argv[]);
|
|
|
|
|
|
class TheApp : public BApplication {
|
|
public:
|
|
TheApp();
|
|
|
|
virtual void ReadyToRun();
|
|
virtual void AboutRequested();
|
|
|
|
virtual void MessageReceived(BMessage* message);
|
|
|
|
MainWindow* GetMainWindow() const;
|
|
|
|
private:
|
|
bool _LoadProtocols(directory_which finddir);
|
|
bool _LoadProtocols(BPath path);
|
|
|
|
MainWindow* fMainWin;
|
|
};
|
|
|
|
#endif // _THE_APP_H
|