X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=main%2Fenigma.cpp;h=29469eab72f29813b050c866ce1e6f9324d66232;hb=636a782d8920b4b52a881a4565c46c06f68785b5;hp=7b30f6b2534263827a7cb42eae32d7d5de8425ba;hpb=4c54cecb6020cde399b564f17dacb048b937018a;p=vuplus_dvbapp diff --git a/main/enigma.cpp b/main/enigma.cpp index 7b30f6b..29469ea 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -16,8 +16,6 @@ #include #include -#include
- class eMain: public eApplication, public Object { eInit init; @@ -152,21 +150,8 @@ int main() atexit(object_dump); #endif -#if 0 - eCLI cli; - eString res; - - while (1) - { - char line[1024]; - if (!fgets(line, 1024, stdin)) - break; - line[strlen(line)-1]=0; - int rn = cli.doCommand(res, line); - eDebug("%s%d", res.c_str(), rn); - } -#endif eMain app; int res = app.exec(); eDebug("after exec"); + return res; }