project64/Source/Project64/WTLApp.h

56 lines
1.7 KiB
C
Raw Normal View History

2016-01-27 09:11:59 +00:00
#pragma once
//Uncomment this to prevent lots of spurious assertions in debug mode
//#define _ASSERTE(expr) ((void)0)
2017-09-13 10:10:09 +00:00
#pragma warning(push)
#pragma warning(disable : 4091) // warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared
#pragma warning(disable : 4201) // warning C4201: nonstandard extension used: nameless struct/union
#pragma warning(disable : 4302) // warning C4302: 'type cast': truncation from 'LPCTSTR' to 'WORD'
#pragma warning(disable : 4458) // warning C4458: declaration of 'dwCommonButtons' hides class member
#pragma warning(disable : 4838) // warning C4838: conversion from 'int' to 'UINT' requires a narrowing conversion
#pragma warning(disable : 4996) // warning C4996: 'GetVersionExA': was declared deprecated
2016-01-27 09:11:59 +00:00
#define _ATL_DISABLE_NOTHROW_NEW
#include <atlbase.h>
#include <shellapi.h>
2016-01-27 09:11:59 +00:00
2017-09-13 10:10:09 +00:00
#include <wtl/atlapp.h>
#include <wtl/atlctrls.h>
2017-09-13 10:10:09 +00:00
#include <wtl/atldlgs.h>
#include <wtl/atlframe.h>
#define _WTL_NO_CSTRING
#include <atlwin.h>
#include <wtl/atlcrack.h>
#include <wtl/atlmisc.h>
2017-09-13 10:10:09 +00:00
2016-01-27 09:11:59 +00:00
#pragma warning(pop)
class CPj64Module :
2017-09-13 10:10:09 +00:00
public CAppModule
2016-01-27 09:11:59 +00:00
{
public:
2017-09-13 10:10:09 +00:00
CPj64Module(void)
{
2021-04-12 11:35:39 +00:00
Init(nullptr, GetModuleHandle(nullptr));
2017-09-13 10:10:09 +00:00
}
virtual ~CPj64Module(void)
{
Term();
}
2016-01-27 09:11:59 +00:00
};
extern CPj64Module _Module;
#include <Common/StdString.h>
#include "UserInterface/WTLControls/ClistCtrl/ListCtrl.h"
#include "UserInterface/WTLControls/EditNumber32.h"
#include "UserInterface/WTLControls/GetCWindowText.h"
#include "UserInterface/WTLControls/ModifiedCheckBox.h"
2016-01-27 09:11:59 +00:00
#include "UserInterface/WTLControls/ModifiedComboBox.h"
#include "UserInterface/WTLControls/ModifiedEditBox.h"
#include "UserInterface/WTLControls/PartialGroupBox.h"
#include "UserInterface/resource.h"