/[svn]/gigedit/trunk/src/gigedit/main.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1397 by schoenebeck, Tue Sep 4 11:04:56 2007 UTC revision 1398 by schoenebeck, Wed Oct 10 22:41:51 2007 UTC
# Line 19  Line 19 
19    
20  #include "gigedit.h"  #include "gigedit.h"
21    
22    #if defined(WIN32)
23    #include <windows.h>
24    
25    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
26        LPSTR lpCmdLine, int nCmdShow)
27    {
28        GigEdit app;
29        return app.run();
30    }
31    
32    #else
33    
34  int main(int argc, char* argv[])  int main(int argc, char* argv[])
35  {  {
36      GigEdit app;      GigEdit app;
37      return (argc >= 2) ? app.run(argv[1])      return (argc >= 2) ? app.run(argv[1])
38                         : app.run();                         : app.run();
39  }  }
40    
41    #endif

Legend:
Removed from v.1397  
changed lines
  Added in v.1398

  ViewVC Help
Powered by ViewVC