Changeset c921505c5ad730161fe4d8eb95950eb4a3f30173

Show
Ignore:
Timestamp:
11/06/09 14:39:31 (2 years ago)
Author:
rgareus <rgareus@…>
Parents:
2080ee9782dad606de14687d58f7902e707ecb96
Children:
995608906db4087da46cca386bc0e195722cec23
git-committer:
rgareus <rgareus@CITU-Cuboute.local> / 2009-11-06T15:39:31Z+0100
Message:

fixed some warnings, still problems with Desc & Tags.

Location:
oggzcap/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • oggzcap/src/MyController.h

    r0a70e0d rc921505  
    113113- (void)updateServerIP:(NSString*)inStr ; 
    114114 
    115 /////// Update IPs and GUI Things 
    116 - (void)addPopUpAdress:(int)type sens:(int)sens str:(NSString*)str ; 
    117 - (void)removePopUpAdress:(int)type sens:(int)sens str:(NSString*)str ; 
    118 - (void)setProjectBoxActive:(BOOL)flag; 
    119  
    120115////////// OUT 
    121116- (void)toggleOutPreview:(id)sender; 
  • oggzcap/src/MyController.mm

    r2080ee9 rc921505  
    289289        const char* curl   = [[NSString stringWithFormat:@"http://wiki.citu.info/users/%@\n",tmpStrAuthor] UTF8String] ; // TODO url-escape 
    290290         
    291         [self pLog:[NSString stringWithFormat:@"Tags: %@\nDesc: %@\n",tmpStrTags,tmpStrDescr]] ; 
     291//      [self pLog:[NSString stringWithFormat:@"Tags: %@\nDesc: %@\n",tmpStrTags,tmpStrDescr]] ; 
    292292 
    293293        int iceConnect = myOggfwd_init(cip, tmpIcecastPort, cmount, cdesc, ctags, cname, curl) ; 
     
    550550        [serverTF setStringValue:inStr] ; 
    551551} 
    552 - (void)addPopUpAdress:(int)type sens:(int)sens str:(NSString*)str 
    553 { 
    554         if(sens==0) { 
    555                 if(type==0) 
    556                         [inDataPopB addItemWithTitle:str] ; 
    557                 else if(type==1) 
    558                         [inAudioPopB addItemWithTitle:str] ; 
    559                 else if(type==2) 
    560                         [inVideoPopB addItemWithTitle:str] ; 
    561         } 
    562         else { 
    563                 if(type==0) 
    564                         [outDataPopB addItemWithTitle:str] ; 
    565                 else if(type==1) 
    566                         [outAudioPopB addItemWithTitle:str] ; 
    567                 else if(type==2) 
    568                         [outVideoPopB addItemWithTitle:str] ; 
    569         } 
    570 } 
    571 - (void)removePopUpAdress:(int)type sens:(int)sens str:(NSString*)str 
    572 { 
    573         bool fV = ([inVideoPopB indexOfItemWithTitle:str]!=-1) ; 
    574         bool fA = ([inAudioPopB indexOfItemWithTitle:str]!=-1) ; 
    575         bool fD = ([inDataPopB indexOfItemWithTitle:str]!=-1) ; 
    576          
    577         if(sens==0) { 
    578                 if(type==0 && fD) 
    579                         [inDataPopB removeItemWithTitle:str] ; 
    580                 else if(type==1 && fA) 
    581                         [inAudioPopB removeItemWithTitle:str] ; 
    582                 else if(type==2 && fV) 
    583                         [inVideoPopB removeItemWithTitle:str] ; 
    584         } 
    585         else { 
    586                 if(type==0 && fD) 
    587                         [outDataPopB removeItemWithTitle:str] ; 
    588                 else if(type==1 && fA) 
    589                         [outAudioPopB removeItemWithTitle:str] ; 
    590                 else if(type==2 && fV) 
    591                         [outVideoPopB removeItemWithTitle:str] ;         
    592         } 
    593 }                
    594  
    595552 
    596553////////////////////////////////////////////////////////////////////////////////////////////////