00001 #define USELIBRARY 00002 00003 #include <iostream> 00004 using namespace std; 00005 00006 #include "../TApi.h" 00007 00008 int main () { 00009 cout << "Create new TApi\n"; 00010 00011 TApi *tapi = new TApi(); 00012 00013 tapi->setDebugOption("save_prim"); 00014 00015 cout << "Initialise all\n"; 00016 tapi->initialiseAll(0); 00017 00018 cout << "Shutdown all\n"; 00019 tapi->shutdownAll(); 00020 00021 cout << "Delete TApi\n"; 00022 delete tapi; 00023 00024 return 0; 00025 }