00001 /* 00002 main.cpp - start the Lumiera Application 00003 00004 Copyright (C) Lumiera.org 00005 2008, Christian Thaeter <ct@pipapo.org> 00006 Hermann Vosseler <Ichthyostega@web.de> 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License as 00010 published by the Free Software Foundation; either version 2 of the 00011 License, or (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the Free Software 00020 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00021 */ 00022 00023 00024 #include <iostream> 00025 00026 #include "proc/lumiera.hpp" 00027 00028 using std::cout; 00029 using std::endl; 00030 using lumiera::Appconfig; 00031 using lumiera::ON_GLOBAL_INIT; 00032 using lumiera::ON_GLOBAL_SHUTDOWN; 00033 00034 00035 int main (int argc, char* argv[]) 00036 { 00037 cout << "*** Lumiera NLE for Linux ***" << endl 00038 << " Version: " << Appconfig::get("version") << "\n"; 00039 00040 Appconfig::lifecycle (ON_GLOBAL_INIT); 00041 00042 // great things are happening here.... 00043 00044 Appconfig::lifecycle (ON_GLOBAL_SHUTDOWN); 00045 return 0; 00046 }
1.5.6