mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-04-18 18:48:16 +00:00
52 lines
1.5 KiB
C
52 lines
1.5 KiB
C
/********************************************************************************
|
|
* Copyright (c) 2025-2026 ZF Friedrichshafen AG
|
|
*
|
|
* This program and the accompanying materials are made available under the
|
|
* terms of the Apache License Version 2.0 which is available at
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Contributors:
|
|
* Erik Verhoeven - initial API and implementation
|
|
********************************************************************************/
|
|
|
|
#ifndef INSTALLATION_H
|
|
#define INSTALLATION_H
|
|
|
|
#include "context.h"
|
|
#include <support/sequence.h>
|
|
#include <support/string.h>
|
|
#include <support/interface_ptr.h>
|
|
|
|
/**
|
|
* @brief Help for installing, updating and uninstalling components.
|
|
* @param[in] rsContext Reference to the context.
|
|
*/
|
|
void InstallationHelp(const SContext& rsContext);
|
|
|
|
/**
|
|
* @brief Install components.
|
|
* @details The command line context.
|
|
* @param[in] rsContext Reference to the context.
|
|
* @return The application exit code. 0 is no error.
|
|
*/
|
|
int Install(const SContext& rsContext);
|
|
|
|
/**
|
|
* @brief Update installation.
|
|
* @details The command line context.
|
|
* @param[in] rsContext Reference to the context.
|
|
* @return The application exit code. 0 is no error.
|
|
*/
|
|
int Update(const SContext& rsContext);
|
|
|
|
/**
|
|
* @brief Uninstall components.
|
|
* @details The command line context.
|
|
* @param[in] rsContext Reference to the context.
|
|
* @return The application exit code. 0 is no error.
|
|
*/
|
|
int Uninstall(const SContext& rsContext);
|
|
|
|
#endif // !defined INSTALLATION_H
|