VSRip.cpp

00001 /* 
00002  *      Copyright (C) 2003-2005 Gabest
00003  *      http://www.gabest.org
00004  *
00005  *  This Program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2, or (at your option)
00008  *  any later version.
00009  *   
00010  *  This Program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013  *  GNU General Public License for more details.
00014  *   
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with GNU Make; see the file COPYING.  If not, write to
00017  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
00018  *  http://www.gnu.org/copyleft/gpl.html
00019  *
00020  */
00021 
00022 // VSRip.cpp : Defines the class behaviors for the application.
00023 //
00024 
00025 #include "stdafx.h"
00026 #include "VSRip.h"
00027 #include "VSRipDlg.h"
00028 
00029 #ifdef _DEBUG
00030 #define new DEBUG_NEW
00031 #endif
00032 
00033 
00034 // CVSRipApp
00035 
00036 BEGIN_MESSAGE_MAP(CVSRipApp, CWinApp)
00037         ON_COMMAND(ID_HELP, CWinApp::OnHelp)
00038 END_MESSAGE_MAP()
00039 
00040 
00041 // CVSRipApp construction
00042 
00043 CVSRipApp::CVSRipApp()
00044 {
00045         // TODO: add construction code here,
00046         // Place all significant initialization in InitInstance
00047 }
00048 
00049 
00050 // The one and only CVSRipApp object
00051 
00052 CVSRipApp theApp;
00053 
00054 // CVSRipApp initialization
00055 
00056 BOOL CVSRipApp::InitInstance()
00057 {
00058         // InitCommonControls() is required on Windows XP if an application
00059         // manifest specifies use of ComCtl32.dll version 6 or later to enable
00060         // visual styles.  Otherwise, any window creation will fail.
00061         InitCommonControls();
00062 
00063         CWinApp::InitInstance();
00064 
00065         CVSRipDlg dlg;
00066         m_pMainWnd = &dlg;
00067         INT_PTR nResponse = dlg.DoModal();
00068         if (nResponse == IDOK)
00069         {
00070                 // TODO: Place code here to handle when the dialog is
00071                 //  dismissed with OK
00072         }
00073         else if (nResponse == IDCANCEL)
00074         {
00075                 // TODO: Place code here to handle when the dialog is
00076                 //  dismissed with Cancel
00077         }
00078 
00079         // Since the dialog has been closed, return FALSE so that we exit the
00080         //  application, rather than start the application's message pump.
00081         return FALSE;
00082 }

Generated on Tue Dec 13 14:47:05 2005 for guliverkli by  doxygen 1.4.5