diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-07 17:42:49 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-07 17:42:49 +0100 |
commit | abe53d3c48a6552e136ddc8bc554764daf255a05 (patch) | |
tree | 946f5254a5a3931e2d48eefc4d697fae59500260 /win32/admin/bitlbeewin.cpp | |
parent | 99318adcb88fa3f1dd21882ec364e682fec96c5e (diff) |
More work on config manager
Diffstat (limited to 'win32/admin/bitlbeewin.cpp')
-rw-r--r-- | win32/admin/bitlbeewin.cpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/win32/admin/bitlbeewin.cpp b/win32/admin/bitlbeewin.cpp new file mode 100644 index 00000000..56e61c3f --- /dev/null +++ b/win32/admin/bitlbeewin.cpp @@ -0,0 +1,47 @@ +// bitlbee.cpp : Defines the class behaviors for the application. +// + +#include "maindlg.h"
+#include "bitlbeewin.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +///////////////////////////////////////////////////////////////////////////// +// CBitlbeeApp + +BEGIN_MESSAGE_MAP(CBitlbeeApp, CWinApp) + //{{AFX_MSG_MAP(CBitlbeeApp) + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + + +///////////////////////////////////////////////////////////////////////////// +// The one and only CBitlbeeApp object + +CBitlbeeApp theApp; + +///////////////////////////////////////////////////////////////////////////// +// CBitlbeeApp initialization
+ +BOOL CBitlbeeApp::InitInstance() +{ + + // Standard initialization + // If you are not using these features and wish to reduce the size + // of your final executable, you should remove from the following + // the specific initialization routines you do not need. + +#ifdef _AFXDLL + Enable3dControls(); // Call this when using MFC in a shared DLL +#else + Enable3dControlsStatic(); // Call this when linking to MFC statically +#endif
+ + new CMainDlg(); + + return TRUE; +} |