mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-14 08:50:12 +00:00
use correct #include in Win32
This commit is contained in:
parent
150a309175
commit
112aa845f4
@ -1,13 +1,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include "../ClientContext.h"
|
#include "ClientContext.h"
|
||||||
#include "../Config.h"
|
#include "Config.h"
|
||||||
#include "../NetDb.h"
|
#include "NetDb.h"
|
||||||
#include "../RouterContext.h"
|
#include "RouterContext.h"
|
||||||
#include "../Transports.h"
|
#include "Transports.h"
|
||||||
#include "../Tunnel.h"
|
#include "Tunnel.h"
|
||||||
#include "../version.h"
|
#include "version.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "Win32App.h"
|
#include "Win32App.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -80,7 +80,7 @@ namespace win32
|
|||||||
Shell_NotifyIcon (NIM_DELETE, &nid);
|
Shell_NotifyIcon (NIM_DELETE, &nid);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ShowUptime (std::stringstream& s, int seconds)
|
static void ShowUptime (std::stringstream& s, int seconds)
|
||||||
{
|
{
|
||||||
int num;
|
int num;
|
||||||
|
|
||||||
@ -125,8 +125,8 @@ namespace win32
|
|||||||
{
|
{
|
||||||
case eRouterStatusOK: s << "OK"; break;
|
case eRouterStatusOK: s << "OK"; break;
|
||||||
case eRouterStatusTesting: s << "Testing"; break;
|
case eRouterStatusTesting: s << "Testing"; break;
|
||||||
case eRouterStatusFirewalled: s << "Firewalled"; break;
|
case eRouterStatusFirewalled: s << "Firewalled"; break;
|
||||||
case eRouterStatusError:
|
case eRouterStatusError:
|
||||||
{
|
{
|
||||||
switch (i2p::context.GetError())
|
switch (i2p::context.GetError())
|
||||||
{
|
{
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#include "../Daemon.h"
|
#include "Daemon.h"
|
||||||
#include "../Log.h"
|
#include "Log.h"
|
||||||
|
|
||||||
I2PService *I2PService::s_service = NULL;
|
I2PService *I2PService::s_service = NULL;
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ I2PService::I2PService(PSTR pszServiceName,
|
|||||||
|
|
||||||
m_fStopping = FALSE;
|
m_fStopping = FALSE;
|
||||||
|
|
||||||
// Create a manual-reset event that is not signaled at first to indicate
|
// Create a manual-reset event that is not signaled at first to indicate
|
||||||
// the stopped signal of the service.
|
// the stopped signal of the service.
|
||||||
m_hStoppedEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
|
m_hStoppedEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
|
||||||
if (m_hStoppedEvent == NULL)
|
if (m_hStoppedEvent == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user