Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7255 in orxonox.OLD for branches/preferences/src/orxonox.h


Ignore:
Timestamp:
Mar 30, 2006, 11:11:16 AM (18 years ago)
Author:
rennerc
Message:

one char* removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/preferences/src/orxonox.h

    r7254 r7255  
    2222  inline static Orxonox* getInstance() { if (!singletonRef) singletonRef = new Orxonox();  return singletonRef; };
    2323
    24   int init(int argc, char** argv, const char* name, int port);
     24  int init(int argc, char** argv, const std::string & name, int port);
    2525
    2626  void restart();
     
    4949  char**            argv;                    //!< Values of th Arguments of orxonox.
    5050
    51   const char*       serverName;              //!< Name of the Orxonox client if == NULL -> server
     51  std::string       serverName;              //!< Name of the Orxonox client if == "" -> server
    5252  int               port;                    //!< number of the network port of the server/client if == -1 no network
    5353};
     
    5959
    6060int startNetworkOrxonox(int argc, char** argv);
    61 int startOrxonox(int argc, char** argv, const char* clientName, int port);
     61int startOrxonox(int argc, char** argv, const std::string & clientName, int port);
    6262
    6363#endif /* _ORXONOX_H */
Note: See TracChangeset for help on using the changeset viewer.