diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-10-24 22:43:37 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:03 +0100 |
commit | e7e10e47476606e3b2274cf66b1e8ea74b236757 (patch) | |
tree | 3daed3cc14405879034c562993a7b5399992f2e3 /apt-private/private-main.h | |
parent | cbbee23e7768750ca1c8b49bdfbf8a650131bbb6 (diff) |
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
Diffstat (limited to 'apt-private/private-main.h')
-rw-r--r-- | apt-private/private-main.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |