2020-05-22 13:18:41 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013-2020, The PurpleI2P Project
|
|
|
|
*
|
|
|
|
* This file is part of Purple i2pd project and licensed under BSD3
|
|
|
|
*
|
|
|
|
* See full license text in LICENSE file at top of project tree
|
|
|
|
*/
|
|
|
|
|
2020-03-01 10:25:50 +00:00
|
|
|
#ifndef WIN32APP_H__
|
|
|
|
#define WIN32APP_H__
|
|
|
|
|
|
|
|
#define I2PD_WIN32_CLASSNAME "i2pd main window"
|
|
|
|
|
|
|
|
namespace i2p
|
|
|
|
{
|
|
|
|
namespace win32
|
|
|
|
{
|
2020-11-16 00:38:04 +00:00
|
|
|
extern DWORD g_GracefulShutdownEndtime;
|
|
|
|
|
2023-03-03 19:02:54 +00:00
|
|
|
bool StartWin32App (bool isWinService);
|
2020-03-01 10:25:50 +00:00
|
|
|
void StopWin32App ();
|
|
|
|
int RunWin32App ();
|
|
|
|
bool GracefulShutdown ();
|
|
|
|
bool StopGracefulShutdown ();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif // WIN32APP_H__
|