2 * Copyright 2002-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
10 #ifndef STYLED_EDIT_APP
11 #define STYLED_EDIT_APP
14 #include <Application.h>
24 class StyledEditWindow
;
27 class StyledEditApp
: public BApplication
{
30 virtual ~StyledEditApp();
32 virtual void MessageReceived(BMessage
* message
);
33 virtual void ArgvReceived(int32 argc
, char** argv
);
34 virtual void RefsReceived(BMessage
* message
);
35 virtual void ReadyToRun();
37 int32
NumberOfWindows();
39 status_t
OpenDocument(entry_ref
* ref
,
40 BMessage
* message
= NULL
);
44 void ArgvReceivedEx(int32 argc
, const char* argv
[],
48 BFilePanel
* fOpenPanel
;
49 BMenu
* fOpenPanelEncodingMenu
;
50 uint32 fOpenAsEncoding
;
52 int32 fNextUntitledWindow
;
57 #endif // STYLED_EDIT_APP