| Revision 59,
814 bytes
checked in by duggan, 18 months ago
(diff) |
|
Fixed build. There shouldn't be any hints of the old names anymore and hopefully this will be the last time I do this.
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * Copyright 2011 Dewey Taylor <james.dewey.taylor@gmail.com> |
|---|
| 3 | * All rights reserved. Distributed under the terms of the MIT license. |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | #ifndef _APP_H_ |
|---|
| 7 | #define _APP_H_ |
|---|
| 8 | |
|---|
| 9 | using namespace std; |
|---|
| 10 | |
|---|
| 11 | #include <SupportDefs.h> |
|---|
| 12 | #include <Application.h> |
|---|
| 13 | #include <String.h> |
|---|
| 14 | #include <OS.h> |
|---|
| 15 | #include <Roster.h> |
|---|
| 16 | |
|---|
| 17 | #include <iostream> |
|---|
| 18 | #include <fstream> |
|---|
| 19 | #include <stdlib.h> |
|---|
| 20 | |
|---|
| 21 | #define D_CONNECT 'dcnc' |
|---|
| 22 | |
|---|
| 23 | #define D_MONITOR_SIGNATURE "application/x-vnd.Drafter-monitor" |
|---|
| 24 | #define D_SERVER_SIGNATURE "application/x-vnd.Drafter-server" |
|---|
| 25 | |
|---|
| 26 | using namespace std; |
|---|
| 27 | |
|---|
| 28 | class App : public BApplication { |
|---|
| 29 | public: |
|---|
| 30 | App(); |
|---|
| 31 | ~App(); |
|---|
| 32 | status_t Status(); |
|---|
| 33 | virtual void ReadyToRun(); |
|---|
| 34 | virtual void MessageReceived(BMessage*); |
|---|
| 35 | virtual bool QuitRequested(); |
|---|
| 36 | |
|---|
| 37 | private: |
|---|
| 38 | entry_ref fGfxServerRef; |
|---|
| 39 | entry_ref fWarehouseRef; |
|---|
| 40 | }; |
|---|
| 41 | |
|---|
| 42 | #endif // _APP_H_ |
|---|
Note: See
TracBrowser
for help on using the repository browser.