/* * This file is a part of Winix * and is not publicly distributed * * Copyright (c) 2012, Tomasz Sowa * All rights reserved. * */ #ifndef headerfile_winix_functions_pw #define headerfile_winix_functions_pw #include "functionbase.h" namespace Fun { class Pw : public FunctionBase { public: Pw(); bool HasAccess(); void MakeGet(); bool ActivateAccount(const std::wstring & login, long code, bool use_ses_log = false); private: bool ActivateAccount(User * puser, long code, bool use_ses_log); void ActivateAccount(); }; } // namespace #endif