*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
// -*- C++ -*-
|
||||
//
|
||||
// $Id: NT_Service.inl 80826 2008-03-04 14:51:23Z wotte $
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
ACE_INLINE
|
||||
ACE_NT_Service::ACE_NT_Service (DWORD start_timeout,
|
||||
DWORD service_type,
|
||||
@@ -24,7 +22,6 @@ ACE_NT_Service::ACE_NT_Service (DWORD start_timeout,
|
||||
svc_status_.dwWaitHint = 0;
|
||||
}
|
||||
|
||||
|
||||
ACE_INLINE
|
||||
ACE_NT_Service::ACE_NT_Service (const ACE_TCHAR *name,
|
||||
const ACE_TCHAR *desc,
|
||||
@@ -46,40 +43,34 @@ ACE_NT_Service::ACE_NT_Service (const ACE_TCHAR *name,
|
||||
svc_status_.dwCheckPoint = 0;
|
||||
}
|
||||
|
||||
|
||||
ACE_INLINE int
|
||||
ACE_NT_Service::svc (void)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
ACE_INLINE
|
||||
const ACE_TCHAR *
|
||||
ACE_NT_Service::name (void) const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
ACE_INLINE
|
||||
const ACE_TCHAR *
|
||||
ACE_NT_Service::desc (void) const
|
||||
{
|
||||
return desc_;
|
||||
}
|
||||
|
||||
ACE_INLINE
|
||||
const ACE_TCHAR *
|
||||
ACE_NT_Service::host (void) const
|
||||
{
|
||||
return host_;
|
||||
}
|
||||
|
||||
ACE_INLINE void
|
||||
ACE_NT_Service::svc_handle(const SERVICE_STATUS_HANDLE new_svc_handle)
|
||||
{
|
||||
this->svc_handle_ = new_svc_handle;
|
||||
return;
|
||||
}
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
Reference in New Issue
Block a user