Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // SteamFileDialog.cpp : Defines the initialization routines for the DLL.
  9. //
  10. #include "stdafx.h"
  11. #include "FileDialogApp.h"
  12. #include "interface.h"
  13. #ifdef _DEBUG
  14. #define new DEBUG_NEW
  15. #undef THIS_FILE
  16. static char THIS_FILE[] = __FILE__;
  17. #endif
  18. //
  19. // Note!
  20. //
  21. // If this DLL is dynamically linked against the MFC
  22. // DLLs, any functions exported from this DLL which
  23. // call into MFC must have the AFX_MANAGE_STATE macro
  24. // added at the very beginning of the function.
  25. //
  26. // For example:
  27. //
  28. // extern "C" BOOL PASCAL EXPORT ExportedFunction()
  29. // {
  30. // AFX_MANAGE_STATE(AfxGetStaticModuleState());
  31. // // normal function body here
  32. // }
  33. //
  34. // It is very important that this macro appear in each
  35. // function, prior to any calls into MFC. This means that
  36. // it must appear as the first statement within the
  37. // function, even before any object variable declarations
  38. // as their constructors may generate calls into the MFC
  39. // DLL.
  40. //
  41. // Please see MFC Technical Notes 33 and 58 for additional
  42. // details.
  43. //
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CSteamFileDialogApp
  46. BEGIN_MESSAGE_MAP(CSteamFileDialogApp, CWinApp)
  47. //{{AFX_MSG_MAP(CSteamFileDialogApp)
  48. // NOTE - the ClassWizard will add and remove mapping macros here.
  49. // DO NOT EDIT what you see in these blocks of generated code!
  50. //}}AFX_MSG_MAP
  51. END_MESSAGE_MAP()
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CSteamFileDialogApp construction
  54. CSteamFileDialogApp::CSteamFileDialogApp()
  55. {
  56. // TODO: add construction code here,
  57. // Place all significant initialization in InitInstance
  58. }
  59. /////////////////////////////////////////////////////////////////////////////
  60. // The one and only CSteamFileDialogApp object
  61. CSteamFileDialogApp theApp;