Skip to content

Commit

Permalink
Marked StartProcess() and StopProcess() as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
hannemn committed Jan 27, 2025
1 parent 8c2f54d commit f031a22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ecal/core/include/ecal/process.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ namespace eCAL
ECAL_API void SetState(eCAL::Process::eSeverity severity_, eCAL::Process::eSeverityLevel level_, const char* info_);

/**
* @deprecated This function is deprecated and will be removed in future eCAL versions.
* @brief Start specified process (windows only).
*
* @param proc_name_ Process name.
Expand All @@ -165,24 +166,29 @@ namespace eCAL
*
* @return Process id or zero if failed.
**/
ECAL_DEPRECATE_SINCE_6_0("This function is deprecated and will be removed in future eCAL versions.")
ECAL_API int StartProcess(const char* proc_name_, const char* proc_args_, const char* working_dir_, bool create_console_, eCAL::Process::eStartMode process_mode_, bool block_);

/**
* @deprecated This function is deprecated and will be removed in future eCAL versions.
* @brief Stop specified process (windows only).
*
* @param proc_name_ Process name.
*
* @return True if successful.
**/
ECAL_DEPRECATE_SINCE_6_0("This function is deprecated and will be removed in future eCAL versions.")
ECAL_API bool StopProcess(const char* proc_name_);

/**
* @deprecated This function is deprecated and will be removed in future eCAL versions.
* @brief Stop specified process (windows only).
*
* @param proc_id_ Process id.
*
* @return True if successful.
**/
ECAL_DEPRECATE_SINCE_6_0("This function is deprecated and will be removed in future eCAL versions.")
ECAL_API bool StopProcess(int proc_id_);
}
/** @example process.cpp
Expand Down

0 comments on commit f031a22

Please sign in to comment.