From e7e10e47476606e3b2274cf66b1e8ea74b236757 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 24 Oct 2015 22:43:37 +0200 Subject: deduplicate main methods All mains pretty much do the same thing, so lets try a little harder to move the common parts into -private to have the real differences more visible. Git-Dch: Ignore --- apt-private/private-main.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apt-private/private-main.h') diff --git a/apt-private/private-main.h b/apt-private/private-main.h index a03bf4441..db6d3e0b7 100644 --- a/apt-private/private-main.h +++ b/apt-private/private-main.h @@ -5,7 +5,9 @@ class CommandLine; -APT_PUBLIC void CheckSimulateMode(CommandLine &CmdL); +APT_PUBLIC void InitLocale(); APT_PUBLIC void InitSignals(); +APT_PUBLIC void CheckIfSimulateMode(CommandLine &CmdL); +APT_PUBLIC void CheckIfCalledByScript(int argc, const char *argv[]); #endif -- cgit v1.2.3