Move TextTable from pkgman to libshared

This commit is contained in:
Ingo Weinhold
2013-11-30 17:02:49 +01:00
parent aea2cb917e
commit 5df58b522b
5 changed files with 19 additions and 4 deletions
@@ -11,6 +11,9 @@
#include <StringList.h>
namespace BPrivate {
class TextTable {
public:
TextTable();
@@ -39,4 +42,10 @@ private:
};
} // namespace BPrivate
using ::BPrivate::TextTable;
#endif // TEXT_TABLE_H
+1 -2
View File
@@ -17,8 +17,7 @@ BinCommand pkgman :
JobStateListener.cpp
PackageManager.cpp
pkgman.cpp
TextTable.cpp
:
package be
libshared.a package be
$(TARGET_LIBSUPC++) $(TARGET_LIBSTDC++)
;
+1 -1
View File
@@ -18,11 +18,11 @@
#include <set>
#include <package/solver/SolverPackage.h>
#include <TextTable.h>
#include "Command.h"
#include "PackageManager.h"
#include "pkgman.h"
#include "TextTable.h"
// TODO: internationalization!
+1
View File
@@ -45,6 +45,7 @@ for architectureObject in [ MultiArchSubDirSetup ] {
ShakeTrackingFilter.cpp
StringForRate.cpp
StringForSize.cpp
TextTable.cpp
Thread.cpp
Variant.cpp
;
@@ -4,13 +4,16 @@
*/
#include "TextTable.h"
#include <TextTable.h>
#include <stdio.h>
#include <algorithm>
namespace BPrivate {
// #pragma mark - Column
@@ -272,3 +275,6 @@ TextTable::Print(int32 maxWidth)
fputs(line.String(), stdout);
}
}
} // namespace BPrivate