15 |
|
#include <fts.h> |
16 |
|
} |
17 |
|
|
18 |
< |
int main(int argc, char* argv[]) |
18 |
> |
#include <menes-api/exename.hpp> |
19 |
> |
#include <menes-app/application.hpp> |
20 |
> |
|
21 |
> |
struct FeepingCreaturismCommand : public app::Application |
22 |
|
{ |
23 |
< |
FeepingCreaturism::program = argv[0]; |
23 |
> |
virtual int Run(const app::ArgumentList& args) |
24 |
> |
{ |
25 |
> |
FeepingCreaturism::program = api::GetExecutableName(); |
26 |
|
|
27 |
< |
FeepingCreaturism creaturism; |
27 |
> |
FeepingCreaturism creaturism; |
28 |
|
|
29 |
< |
return 0; |
30 |
< |
} |
29 |
> |
return 0; |
30 |
> |
} |
31 |
> |
} creaturism; |
32 |
|
|
33 |
|
FeepingCreaturism::FeepingCreaturism() |
34 |
|
{ |