diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-05-05 12:53:55 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-05-05 12:53:55 +0000 |
commit | 3c61e20f081bf6fbab6d3483e5e7f71cb91c4974 (patch) | |
tree | 4d687030d8e848eb2c325e8234fb807f578df890 /ace/NT_Service.inl | |
parent | 65ce81267a19f490a22443567c75276fc864cbd2 (diff) | |
download | ATCD-RepositoryManager.tar.gz |
This commit was manufactured by cvs2svn to create branchRepositoryManager
'RepositoryManager'.
Diffstat (limited to 'ace/NT_Service.inl')
-rw-r--r-- | ace/NT_Service.inl | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/ace/NT_Service.inl b/ace/NT_Service.inl deleted file mode 100644 index a1a9e9469b8..00000000000 --- a/ace/NT_Service.inl +++ /dev/null @@ -1,80 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -ACE_INLINE -ACE_NT_Service::ACE_NT_Service (DWORD start_timeout, - DWORD service_type, - DWORD controls_mask) : - start_time_(start_timeout), - svc_handle_(0), - svc_sc_handle_(0), - name_(0), - desc_(0), - host_(0) -{ - svc_status_.dwServiceType = service_type; - svc_status_.dwCurrentState = 0; - svc_status_.dwControlsAccepted = controls_mask; - svc_status_.dwWin32ExitCode = NO_ERROR; - svc_status_.dwServiceSpecificExitCode = 0; - svc_status_.dwCheckPoint = 0; - svc_status_.dwWaitHint = 0; -} - - -ACE_INLINE -ACE_NT_Service::ACE_NT_Service (const ACE_TCHAR *name, - const ACE_TCHAR *desc, - DWORD start_timeout, - DWORD service_type, - DWORD controls_mask) : - start_time_(start_timeout), - svc_handle_(0), - svc_sc_handle_(0), - name_(ACE::strnew(name)), - desc_(ACE::strnew(desc)), - host_(0) -{ - svc_status_.dwServiceType = service_type; - svc_status_.dwCurrentState = 0; - svc_status_.dwControlsAccepted = controls_mask; - svc_status_.dwWin32ExitCode = NO_ERROR; - svc_status_.dwServiceSpecificExitCode = 0; - 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; -} |