finalcut/examples/hello.cpp

19 lines
323 B
C++

// File: hello.cpp
#include <final/fapplication.h>
#include <final/fmessagebox.h>
int main (int argc, char* argv[])
{
// Create the application object
FApplication app(argc, argv);
// Create a simple dialog box
FMessageBox mbox(&app);
mbox.setText("Hello world");
// Start the application
mbox.exec();
}