Chart.cpp
by Pierre Raynaud-Richard.
*/
Copyright 1999, Be Incorporated. All Rights Reserved.
This file may be used under the terms of the Be Sample Code License.
*/
#include "ChartWindow.h"
#include "Chart.h"
#include <Catalog.h>
#include <Debug.h>
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "Chart"
int
main()
{
ChartApp *app = new ChartApp();
app->Run();
delete app;
return 0;
}
ChartApp::ChartApp() : BApplication("application/x-vnd.Haiku-ChartDemo")
{
fWindow = new ChartWindow(BRect(120, 150, 965, 591),
B_TRANSLATE_SYSTEM_NAME("Chart"));
fWindow->Show();
}