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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1456 - (hide annotations) (download)
Sun Oct 21 15:32:36 2007 UTC (16 years, 6 months ago) by persson
File size: 1094 byte(s)
* multiple editor windows can now be opened by the plugin
* bugfix: gigedit didn't start on windows 2000
* standard gtk command line parameters is now handled

1 schoenebeck 1225 /*
2     * Copyright (C) 2006, 2007 Andreas Persson
3     *
4     * This program is free software; you can redistribute it and/or
5     * modify it under the terms of the GNU General Public License as
6     * published by the Free Software Foundation; either version 2, or (at
7     * your option) any later version.
8     *
9     * This program is distributed in the hope that it will be useful, but
10     * WITHOUT ANY WARRANTY; without even the implied warranty of
11     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12     * General Public License for more details.
13     *
14     * You should have received a copy of the GNU General Public License
15     * along with program; see the file COPYING. If not, write to the Free
16     * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
17     * 02110-1301 USA.
18     */
19    
20     #include "gigedit.h"
21    
22 schoenebeck 1398 #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 persson 1456 return app.run(__argc, __argv);
30 schoenebeck 1398 }
31    
32     #else
33    
34 schoenebeck 1225 int main(int argc, char* argv[])
35     {
36 schoenebeck 1322 GigEdit app;
37 persson 1456 return app.run(argc, argv);
38 schoenebeck 1225 }
39 schoenebeck 1398
40     #endif

  ViewVC Help
Powered by ViewVC