Changeset 5949:9528e85ba67c in roaraudio for libroar


Ignore:
Timestamp:
10/20/13 13:23:36 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Marked roarcatvio as obsolete. Added all unique features to roarcatplay.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/debug.c

    r5823 r5949  
    7878 } else { 
    7979  roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "This program is obsolete and will be removed soon. Please use %s. %s", newprog, info); 
     80 } 
     81} 
     82 
     83void roar_debug_option_obsolete(const char * progname, const char * option, const char * newopt, const char * info) { 
     84 if ( info == NULL ) 
     85  info = ""; 
     86 
     87 if ( newopt == NULL ) { 
     88  roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "The option \"%s\" is obsolete and will be removed soon. %s", option, info); 
     89 } else { 
     90  roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "The option \"%s\" is obsolete and will be removed soon. Please use \"%s\". %s", option, newopt, info); 
    8091 } 
    8192} 
Note: See TracChangeset for help on using the changeset viewer.