use var passed by reference

Conflicts:
	src/gui/components/cc_frm.h
	src/gui/components/cc_frm_icons.cpp
This commit is contained in:
Jacek Jendrzej
2013-04-18 19:19:30 +02:00
committed by [CST] Focus
parent e2bbf2aa44
commit b386f7bbd2
10 changed files with 34 additions and 34 deletions

View File

@@ -24,12 +24,12 @@
#include <string>
bool getInetAttributes(const std::string name, bool &automatic_start, std::string &address, std::string &netmask, std::string &broadcast, std::string &gateway);
bool getInetAttributes(const std::string &name, bool &automatic_start, std::string &address, std::string &netmask, std::string &broadcast, std::string &gateway);
bool addLoopbackDevice(const std::string name, const bool automatic_start);
bool addLoopbackDevice(const std::string &name, const bool automatic_start);
bool setStaticAttributes(const std::string name, const bool automatic_start, const std::string address, const std::string netmask, const std::string broadcast, const std::string gateway, bool wireless = false);
bool setStaticAttributes(const std::string &name, const bool automatic_start, const std::string &address, const std::string &netmask, const std::string &broadcast, const std::string &gateway, bool wireless = false);
bool setDhcpAttributes(const std::string name, const bool automatic_start, bool wireless = false);
bool setDhcpAttributes(const std::string &name, const bool automatic_start, bool wireless = false);
#endif /* __network_interfaces_h__ */