📄 waruserauthimpersonate.h
字号:
/** */#ifndef WAR_USER_AUTH_IMPERSONATE_H#define WAR_USER_AUTH_IMPERSONATE_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_USER_AUTH_DATA_H# include "WarUserAuthData.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarUserAuthImpersonate {public: // LIFECYCLE /** * Default constructor. */ WarUserAuthImpersonate(war_authdata_ptr_t& userAuthPtr) throw(WarException) : mUserAuthPtr(userAuthPtr) { if (mUserAuthPtr) mUserAuthPtr->BeginImpersonate(); } /** * Destructor. */ ~WarUserAuthImpersonate() throw(WarException) { if (mUserAuthPtr) mUserAuthPtr->EndImpersonate(); } // OPERATORS // OPERATIONS // CALLBACK // ACCESS // INQUIRY protected:private: war_authdata_ptr_t mUserAuthPtr;};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif /* WAR_USER_AUTH_IMPERSONATE_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -