Initial
This commit is contained in:
20
socket/PROCADDR.HPP
Normal file
20
socket/PROCADDR.HPP
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef _SOCKET_PROCADDRESS_HPP_
|
||||
#define _SOCKET_PROCADDRESS_HPP_
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable:4700)
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
class ProcAddress
|
||||
{
|
||||
public:
|
||||
typedef BOOL (T::*LPFNMETHODVOID)(void);
|
||||
ProcAddress(void);
|
||||
virtual ~ProcAddress();
|
||||
int getProcAddress(LPFNMETHODVOID lpfnMethod);
|
||||
private:
|
||||
};
|
||||
#if defined(_MSC_VER)
|
||||
#include <socket/procaddr.tpp>
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user