Home » Developing U++ » U++ Developers corner » Adding network proxy support to U++
Re: Adding network proxy support to U++ [message #44124 is a reply to message #44122] |
Sat, 27 December 2014 14:37 |
|
Klugier
Messages: 1076 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Oblivion,
Little review for your code. Never use "using namespace Upp" in your header files (.h). More information you can find on StackOverflow: http://stackoverflow.com/questions/5849457/using-namespace-i n-c-headers. Instead of "using namespace Upp" use "NAMESPACE_UPP & END_UPP_NAMESPACE" construction:
NAMESPACE_UPP
class NetworkProxy
{
...
}
END_UPP_NAMESPACE
But in implementation (.cpp file) you will need to use "using namespace Upp;" directive or "NAMESPACE_UPP & END_UPP_NAMESPACE" construction. It dosen't metter in implementation file. Personally, I prefer first option, but for example core Upp code use second option.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sat, 27 December 2014 14:38] Report message to a moderator
|
|
|
|
|
Adding network proxy support to U++
By: Oblivion on Sun, 12 October 2014 15:45
|
|
|
Re: Adding network proxy support to U++
|
|
|
Re: Adding network proxy support to U++
By: mirek on Mon, 20 October 2014 17:33
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Sun, 09 November 2014 16:56
|
|
|
Re: Adding network proxy support to U++
By: mirek on Wed, 12 November 2014 08:12
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Sat, 22 November 2014 14:56
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Mon, 24 November 2014 14:34
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Fri, 19 December 2014 15:39
|
|
|
Re: Adding network proxy support to U++
By: mirek on Wed, 24 December 2014 12:12
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Wed, 24 December 2014 12:53
|
|
|
Re: Adding network proxy support to U++
By: mirek on Thu, 25 December 2014 21:03
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Thu, 25 December 2014 23:06
|
|
|
Re: Adding network proxy support to U++
By: Klugier on Sat, 27 December 2014 14:37
|
|
|
Re: Adding network proxy support to U++
By: Oblivion on Mon, 29 December 2014 13:12
|
Goto Forum:
Current Time: Sun May 19 07:14:26 CEST 2024
Total time taken to generate the page: 0.00992 seconds
|