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 |
|
{ |
221 |
|
for (std::vector<Buddy>::iterator buddy(difference.begin()); |
222 |
|
buddy != difference.end(); ++buddy) |
223 |
|
{ |
224 |
< |
ext::Uuid id; |
224 |
> |
ext::Uuid id(api::Uuid::CreateSequential()); |
225 |
|
|
226 |
< |
api::Uuid::CreateSequential(id); |
226 |
> |
// api::Uuid::CreateSequential(id); |
227 |
|
|
228 |
|
buddy->setId(id); |
229 |
|
db->Execute("INSERT INTO buddies (id, buddy) VALUES ('" |