haiku/src/apps/stylededit/StyledEditApp.h

35 lines
663 B
C
Raw Normal View History

/**StyledEdit: Application class*/
#ifndef STYLED_EDIT_APP
#define STYLED_EDIT_APP
#include <Application.h>
#include <Message.h>
#include <FilePanel.h>
class StyledEditWindow;
class StyledEditApp
: public BApplication
{
public:
StyledEditApp();
virtual void MessageReceived(BMessage *message);
virtual void RefsReceived(BMessage *message);
virtual void ReadyToRun();
int32 NumberOfWindows();
void OpenDocument();
void OpenDocument(entry_ref * ref);
void CloseDocument();
private:
BFilePanel *fOpenPanel;
int32 fWindowCount;
int32 fNext_Untitled_Window;
};
extern StyledEditApp * styled_edit_app;
#endif // STYLED_EDIT_APP