Skip to content

Commit

Permalink
Making PostStartRegistrations() private
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadb-amazon committed Aug 25, 2023
1 parent 51b3074 commit 624b546
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/tv-casting-app/tv-casting-common/core/CastingApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,13 @@ class CastingApp
CHIP_ERROR Initialize(const matter::casting::support::AppParameters & appParameters);

/**
* @brief Starts the Matter server that the CastingApp runs on and calls PostStartRegistrations() to finish starting up the
* @brief Starts the Matter server that the CastingApp runs on and registers all the necessary delegates
* CastingApp.
*
* @return CHIP_ERROR - CHIP_NO_ERROR if Matter server started successfully, specific error code otherwise.
*/
CHIP_ERROR Start();

/**
* @brief Perform post Matter server startup registrations
*
* @return CHIP_ERROR - CHIP_NO_ERROR if all registrations succeeded, specific error code otherwise
*/
CHIP_ERROR PostStartRegistrations();

/**
* @brief Stops the Matter server that the CastingApp runs on
*
Expand All @@ -81,6 +74,13 @@ class CastingApp
CastingApp(CastingApp & other) = delete;
void operator=(const CastingApp &) = delete;

/**
* @brief Perform post Matter server startup registrations
*
* @return CHIP_ERROR - CHIP_NO_ERROR if all registrations succeeded, specific error code otherwise
*/
CHIP_ERROR PostStartRegistrations();

const matter::casting::support::AppParameters * mAppParameters;

CastingAppState mState = UNINITIALIZED;
Expand Down

0 comments on commit 624b546

Please sign in to comment.