UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
global.cpp File Reference

Global used flags, classes and emulated system functions. More...

+ Include dependency graph for global.cpp:

Go to the source code of this file.

Classes

class  UPnPsdk::anonymous_namespace{global.cpp}::CWSAStartup
 Initialize and cleanup Microsoft Windows Sockets. More...
 

Namespaces

namespace  UPnPsdk
 Reengineered Object Oriented UPnP+ program code.
 

Variables

const CWSAStartup UPnPsdk::anonymous_namespace{global.cpp}::init_winsock
 This object initialize and cleanup the Microsoft Windows Socket subsystem.
 

Detailed Description

Global used flags, classes and emulated system functions.

At least one of the global used constants or variables in this file is used nearly by all compile units. This ensures that this unit is always linked to the library no matter what options are selected. So I use it also for an automatic initialization of the library with no need to call an init function by the user.

Definition in file global.cpp.