4 |
|
// |
5 |
|
// $Id$ |
6 |
|
|
7 |
< |
#include "Matcher.hpp" |
7 |
> |
#include "Matcher/Matcher.hpp" |
8 |
|
#include "Collector.hpp" |
9 |
|
#include "Publisher.hpp" |
10 |
|
|
11 |
|
#include <menes-api/exename.hpp> |
12 |
|
#include <menes-app/application.hpp> |
13 |
+ |
#include <menes-ios/stdadapters.hpp> |
14 |
|
|
15 |
|
#include <algorithm> |
16 |
|
#include <cstring> |
27 |
|
{ |
28 |
|
virtual int Run(const app::ArgumentList& args) |
29 |
|
{ |
30 |
< |
Zoe::program = api::GetExecutableName(); |
30 |
> |
Zoe::program = api::GetExecutablePath().GetName(); |
31 |
|
|
32 |
|
for (size_t index(0); index < args.GetSize(); ++index) |
33 |
|
{ |
99 |
|
|
100 |
|
uname(&system); |
101 |
|
|
102 |
< |
generator_.InsertAllLast(_R(" (") + system.sysname); |
102 |
> |
generator_.InsertAllLast(ios::String() << " (" << system.sysname); |
103 |
|
} |
104 |
|
|
105 |
|
if (generator == agent) |