summaryrefslogtreecommitdiff
path: root/dbx_mmap_sa/dbtool/main.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-20 15:26:20 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-20 15:26:20 +0000
commit6c7bdc8f1c38ee6ca2aa7567192604588e753749 (patch)
tree0f5315b487d1a55bfa6db9a6251e5d939b479912 /dbx_mmap_sa/dbtool/main.cpp
parent981be0c4da534beecf203fd050600457a315129c (diff)
dbx_mmap_sa moved from http://dbmmapmod.googlecode.com
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@186 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'dbx_mmap_sa/dbtool/main.cpp')
-rw-r--r--dbx_mmap_sa/dbtool/main.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/dbx_mmap_sa/dbtool/main.cpp b/dbx_mmap_sa/dbtool/main.cpp
new file mode 100644
index 0000000..014881e
--- /dev/null
+++ b/dbx_mmap_sa/dbtool/main.cpp
@@ -0,0 +1,32 @@
+/*
+Miranda Database Tool
+Copyright (C) 2001-2005 Richard Hughes
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+#include "dbtool.h"
+
+HINSTANCE hInst;
+
+DbToolOptions opts = {0};
+
+int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
+{
+ hInst=hInstance;
+ LoadLangPackModule();
+ InitCommonControls();
+ DialogBox(hInst,MAKEINTRESOURCE(IDD_WIZARD),NULL,WizardDlgProc);
+ return 0;
+}