// $Revision: 1.2 $ //----------------------------------------------------------------------------- // // Copyright (C) 1995 Taligent, Inc. All rights reserved. // // Project: WebRunner Sample // File: Main.C // Build/Version: Beta 1.0 // //----------------------------------------------------------------------------- #ifndef TaligentSamples_WEBMODEL #include "WebModel.h" #endif //============================================================================ // main void main(int argc, char* argv[]) { TURL destination; if (argc >= 2) { destination = TStandardText(argv[1]); } else { qprintf("No destination given, opening default.\n"); } qprintf("Opening URL: "); QPrintText(destination.GetURLText()); TWebModel::OpenWebDocument(destination); }