ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.cpp
(Generate patch)

Comparing FeepingCreaturism/FeepingCreaturism.cpp (file contents):
Revision 236 by Douglas Thrift, 2004-09-10T16:15:19-07:00 vs.
Revision 243 by Douglas Thrift, 2004-09-11T21:27:10-07:00

# Line 15 | Line 15 | extern "C"
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   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines