Changeset 636 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Apr 24, 2015, 7:11:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_saga.c
r634 r636 35 35 public: 36 36 static int Callback(TSG_UI_Callback_ID ID, CSG_UI_Parameter &Param_1, CSG_UI_Parameter &Param_2); 37 //int Callback(TSG_UI_Callback_ID ID, CSG_UI_Parameter &Param_1, CSG_UI_Parameter &Param_2);38 37 /** 39 38 * Define the message value … … 190 189 } 191 190 192 TSG_PFNC_UI_Callback Get_Callback (SagaWatcher watcher) 193 { 191 TSG_PFNC_UI_Callback Get_Callback (SagaWatcher watcher){ 194 192 return( &(watcher.Callback) ); 195 193 } … … 394 392 for(int i=0; i<param->asList()->Get_Count(); i++) 395 393 { 396 CSG_Data_Object *pObject= param->asList()->asDataObject(i);394 CSG_Data_Object *pObject = param->asList()->asDataObject(i); 397 395 398 396 if( pObject->is_Modified() && SG_File_Exists(pObject->Get_File_Name()) ) … … 432 430 while( fileName.Length() > 0 ) 433 431 { 434 CSG_String s(&fileName); s = s.BeforeFirst(';');435 436 if( s.Length() > 0 )432 CSG_String current_file(&fileName); 433 current_file = current_file.BeforeFirst(';'); 434 if( current_file.Length() > 0 ) 437 435 { 438 fileNames += s;439 fileName 436 fileNames += current_file; 437 fileName = fileName.AfterFirst(';'); 440 438 } 441 439 else 442 440 { 443 fileNames 444 fileName 441 fileNames += &fileName; 442 fileName.Clear(); 445 443 } 446 444 } 447 445 448 446 int nFileNames = param->asList()->Get_Count() <= fileNames.Get_Count() ? fileNames.Get_Count() : fileNames.Get_Count() - 1; 449 447 for(int i=0; i<param->asList()->Get_Count(); i++) … … 468 466 } 469 467 } 470 } 468 } 471 469 return( true ); 472 470 } … … 669 667 */ 670 668 int sagaExportTIN(maps** conf, maps** in,const char* tname/*,CSG_Parameter* param*/){ 671 dumpMaps(*in);672 669 map* mtype=getMap((*in)->content,"mimeType"); 673 670 map* gfile=getMap((*in)->content,"generated_file");
Note: See TracChangeset
for help on using the changeset viewer.