Browse Source
While it is a huge undertaking to enable it for our public libraries as basically everything we exported so far could be seen as public interface our private library is new and under our full control, so we can do whatever we like with it. The benefits are not that big in return of course, but it reduces the size a bit, so thats great nontheless. Git-Dch: ignoredebian/1.8.y

17 changed files with 65 additions and 34 deletions
@ -1,9 +1,11 @@ |
|||
#ifndef APT_PRIVATE_DOWNLOAD_H |
|||
#define APT_PRIVATE_DOWNLOAD_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class pkgAcquire; |
|||
|
|||
bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser); |
|||
bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure); |
|||
APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser); |
|||
APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure); |
|||
|
|||
#endif |
|||
|
@ -1,9 +1,11 @@ |
|||
#ifndef APT_PRIVATE_LIST_H |
|||
#define APT_PRIVATE_LIST_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class CommandLine; |
|||
|
|||
bool List(CommandLine &Cmd); |
|||
APT_PUBLIC bool List(CommandLine &Cmd); |
|||
|
|||
|
|||
#endif |
|||
|
@ -1,8 +1,10 @@ |
|||
#ifndef APT_PRIVATE_MAIN_H |
|||
#define APT_PRIVATE_MAIN_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class CommandLine; |
|||
|
|||
void CheckSimulateMode(CommandLine &CmdL); |
|||
APT_PUBLIC void CheckSimulateMode(CommandLine &CmdL); |
|||
|
|||
#endif |
|||
|
@ -1,9 +1,11 @@ |
|||
#ifndef APT_PRIVATE_SEARCH_H |
|||
#define APT_PRIVATE_SEARCH_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class CommandLine; |
|||
|
|||
bool FullTextSearch(CommandLine &CmdL); |
|||
APT_PUBLIC bool FullTextSearch(CommandLine &CmdL); |
|||
|
|||
|
|||
#endif |
|||
|
@ -1,12 +1,14 @@ |
|||
#ifndef APT_PRIVATE_SHOW_H |
|||
#define APT_PRIVATE_SHOW_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class CommandLine; |
|||
|
|||
namespace APT { |
|||
namespace Cmd { |
|||
|
|||
bool ShowPackage(CommandLine &CmdL); |
|||
APT_PUBLIC bool ShowPackage(CommandLine &CmdL); |
|||
} |
|||
} |
|||
#endif |
|||
|
@ -1,8 +1,10 @@ |
|||
#ifndef APT_PRIVATE_SOURCES_H |
|||
#define APT_PRIVATE_SOURCES_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class CommandLine; |
|||
|
|||
bool EditSources(CommandLine &CmdL); |
|||
APT_PUBLIC bool EditSources(CommandLine &CmdL); |
|||
|
|||
#endif |
|||
|
@ -1,8 +1,10 @@ |
|||
#ifndef APT_PRIVATE_UPDATE_H |
|||
#define APT_PRIVATE_UPDATE_H |
|||
|
|||
#include <apt-pkg/macros.h> |
|||
|
|||
class CommandLine; |
|||
|
|||
bool DoUpdate(CommandLine &CmdL); |
|||
APT_PUBLIC bool DoUpdate(CommandLine &CmdL); |
|||
|
|||
#endif |
|||
|
@ -1,9 +1,11 @@ |
|||
#ifndef APT_PRIVATE_UTILS_H |
|||
#define APT_PRIVATE_UTILS_H |
|||
|
|||
#include<string> |
|||
#include <apt-pkg/macros.h> |
|||
|
|||
void DisplayFileInPager(std::string filename); |
|||
void EditFileInSensibleEditor(std::string filename); |
|||
#include <string> |
|||
|
|||
APT_PUBLIC void DisplayFileInPager(std::string filename); |
|||
APT_PUBLIC void EditFileInSensibleEditor(std::string filename); |
|||
|
|||
#endif |
|||
|
Loading…
Reference in new issue