aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg.h
blob: 1d7f87d329f290271fadebdb3b828c30fcbd9a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <filesystem>
#include "package_spec.h"
#include "BinaryParagraph.h"
#include "StatusParagraphs.h"
#include "vcpkg_paths.h"

namespace vcpkg
{
    namespace fs = std::tr2::sys;

    extern bool g_do_dry_run;

    StatusParagraphs database_load_check(const vcpkg_paths& paths);

    void install_package(const vcpkg_paths& paths, const BinaryParagraph& binary_paragraph, StatusParagraphs& status_db);
    void deinstall_package(const vcpkg_paths& paths, const package_spec& spec, StatusParagraphs& status_db);
} // namespace vcpkg