Update of /cvsroot/playerstage/code/player/libplayercore
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3155/libplayercore

Modified Files:
        globals.cc globals.h 
Log Message:
re-adde global argc and argv vars

Index: globals.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/libplayercore/globals.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** globals.cc  9 Oct 2007 21:15:04 -0000       1.10
--- globals.cc  22 Feb 2008 20:51:50 -0000      1.11
***************
*** 73,76 ****
--- 73,80 ----
  bool player_quiet_startup;
  
+ // global access to the cmdlihe arguments
+ int player_argc;
+ char** player_argv;
+ 
  #if HAVE_PLAYERSD
  struct player_sd* globalSD;

Index: globals.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/libplayercore/globals.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** globals.h   9 Oct 2007 21:15:04 -0000       1.8
--- globals.h   22 Feb 2008 20:51:50 -0000      1.9
***************
*** 52,55 ****
--- 52,59 ----
  extern bool player_quiet_startup;
  
+ // global access to the command line arguments
+ extern int player_argc;
+ extern char** player_argv;
+ 
  #if HAVE_PLAYERSD
  extern struct player_sd* globalSD;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to